Skip to contentSkip to conversation

x86: remove out label in spurious_interrupt

PATCH In review Wei Liu 2 participants 2 messages Dec 11, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 x86: remove out label in spurious_interrupt

The out label is followed by a semicolon only. Use return directly.

---
 xen/arch/x86/apic.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
xen/arch/x86/apic.c +1 -3
index 7120107b0c..b06eedf326 100644
@@ -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