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)
commitd6bd6cf9feb81737f9f64d2c1acf98fdaacebad1
tree1185394ab63e666b9a4b86556ed22caff49e910a
parentf4eef1b652eeb850a0f44e8f985cc4153a0c0265
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