]> xenbits.xensource.com Git - xen.git/commit
x86/platform: tidy do_platform_op() a little
authorJan Beulich <jbeulich@suse.com>
Thu, 21 Dec 2023 10:47:41 +0000 (11:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 Dec 2023 10:47:41 +0000 (11:47 +0100)
commit773db8f307d84fe06cd199ac172e67799c0a12df
tree3e8b808e13adbb3134ddfa4b1a0b59176719fff7
parent6ccd2501b42bd2c67904f30a4b5e515c06ce2255
x86/platform: tidy do_platform_op() a little

The function has a few stray scopes and inconsistent use (indentation)
of break statements. Drop the stray braces and bring all the break-s in
line with one another. This in particular means dropping a redundant
break from XENPF_cpu_offline handling, pleasing Misra C:2012 rule 2.1.

No functional change intended.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/platform_hypercall.c