]> git.baikalelectronics.ru Git - kernel.git/commit
xen: remove gnttab_query_foreign_access()
authorJuergen Gross <jgross@suse.com>
Mon, 7 Mar 2022 08:48:54 +0000 (09:48 +0100)
committerJuergen Gross <jgross@suse.com>
Mon, 7 Mar 2022 08:48:54 +0000 (09:48 +0100)
commitf01452b8599dabd87b2c7dae6838e87ec8b801d0
tree364cd8710fb57850bad3b022090f12bc9c9dacc1
parentad5d8468a19ba4302bff56fa8fdf0587e9cf59b9
xen: remove gnttab_query_foreign_access()

Remove gnttab_query_foreign_access(), as it is unused and unsafe to
use.

All previous use cases assumed a grant would not be in use after
gnttab_query_foreign_access() returned 0. This information is useless
in best case, as it only refers to a situation in the past, which could
have changed already.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
drivers/xen/grant-table.c
include/xen/grant_table.h