xen/grant-table: Remove outdated warning in gnttab_grow_table()
authorJulien Grall <julien@xen.org>
Tue, 25 Feb 2020 12:32:49 +0000 (12:32 +0000)
committerJulien Grall <julien@xen.org>
Thu, 5 Mar 2020 12:59:46 +0000 (12:59 +0000)
commit26cada81c43719508783e72c244fcf57e495ccc7
tree081d46140d536a10b0e7cf2b4506b5cb1baa1beb
parenta47ae19672fce8e377277f23336692f9eab4fca1
xen/grant-table: Remove outdated warning in gnttab_grow_table()

One of the warning message in gnttab_grow_table() refers to a function
was removed in commit 6425f91c72 "xen/gnttab: Fold grant_table_{create,
set_limits}() into grant_table_init()".

Since the commit, gt->active will be allocated while initializing the
grant table at domain creation. Therefore gt-active will always be
valid.

Rather than replacing the warning by another one, drop the check
completely as we will likely not come back to a semi-initialized world.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c