x86: remove out label in spurious_interrupt
PATCH 1/1 x86: remove out label in spurious_interrupt
The out label is followed by a semicolon only. Use return directly.
Signed-off-by Wei Liu <[email protected]>
--- xen/arch/x86/apic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
xen/arch/x86/apic.c +1 -3
@@ -1406,15 +1406,13 @@ void spurious_interrupt(struct cpu_user_regs *regs)if (this_cpu (state_dump_pending)) {this_cpu (state_dump_pending) = false;dump_execstate (regs); - goto out; +return ; } }/* see sw-dev-man vol 3, chapter 7.4.13.5 */ printk (KERN_INFO "spurious APIC interrupt on CPU#%d, should " "never happen.\n" ,smp_processor_id ()); - -out: ; }/*
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 11.12.18 at 12:55, <[email protected]> wrote:
The out label is followed by a semicolon only. Use return directly.
Signed-off-by Wei Liu <[email protected]>
Acked-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel