x86/vmx: reorder code in vmx_deliver_posted_intr
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 30 Jul 2020 14:03:09 +0000 (16:03 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Aug 2020 15:14:21 +0000 (16:14 +0100)
commit9ce2befd953274c9f919fdf55bb13516876148aa
treea384ec5734d1424976936490e5a0124629b8d308
parentbeb105af19cc3e58e2ed49224cfe190a736e5fa0
x86/vmx: reorder code in vmx_deliver_posted_intr

Remove the unneeded else branch, which allows to reduce the
indentation of a larger block of code, while making the flow of the
function more obvious.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmx.c