vPCI/MSI-X: fold clearing of entry->updated
authorJan Beulich <jbeulich@suse.com>
Thu, 7 Jan 2021 14:03:17 +0000 (15:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Jan 2021 14:03:17 +0000 (15:03 +0100)
commitc58654c22ae0dc74c2613e5e1a922b2bbd217abb
tree39ff7e2a50e6e0be9463dafb0ebf4202ebf40ced
parentd581cf8839417b73f02d8b6f79cf33e9903933db
vPCI/MSI-X: fold clearing of entry->updated

Both call sites clear the flag after a successfull call to
update_entry(). This can be simplified by moving the clearing into the
function, onto its success path.

As a result of neither caller caring about update_entry()'s return value
anymore, the function gets switched to return void.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/vpci/msix.c