]> git.baikalelectronics.ru Git - kernel.git/commit
xen/grant-table: remove multiple BUG_ON on gnttab_interface
authorAditya Pakki <pakki001@umn.edu>
Tue, 17 Dec 2019 20:53:56 +0000 (14:53 -0600)
committerJuergen Gross <jgross@suse.com>
Fri, 20 Dec 2019 12:54:56 +0000 (13:54 +0100)
commit6a69221b4502b6d27bffea32adc3627f3c58c1d9
tree1185394ab63e666b9a4b86556ed22caff49e910a
parent9d584e77609cc315b075d9ecb45ed0ca1941b99d
xen/grant-table: remove multiple BUG_ON on gnttab_interface

gnttab_request_version() always sets the gnttab_interface variable
and the assertions to check for empty gnttab_interface is unnecessary.
The patch eliminates multiple such assertions.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/grant-table.c