]> 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)
commitbce01934ddd0604b8fc3b6b81f39c57ebe4fc5b7
tree1185394ab63e666b9a4b86556ed22caff49e910a
parent8a420d03e7fb3b1eabca67e712c44921fe0b6ac8
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