]> Git Repo - qemu.git/commitdiff
target/mips: Style improvements in mips_int.c
authorAleksandar Markovic <[email protected]>
Mon, 19 Aug 2019 12:07:53 +0000 (14:07 +0200)
committerAleksandar Markovic <[email protected]>
Mon, 19 Aug 2019 17:53:37 +0000 (19:53 +0200)
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.

Signed-off-by: Aleksandar Markovic <[email protected]>
Reviewed-by: Aleksandar Rikalo <[email protected]>
Message-Id: <1566216496[email protected]>

hw/mips/mips_int.c

index 74cf587d5bc1d75d6aede78b501e39bedfa5d5b9..5ebc9618a7f0426f177bce606aba0cde39c2f592 100644 (file)
@@ -35,8 +35,9 @@ static void cpu_mips_irq_request(void *opaque, int irq, int level)
     CPUState *cs = CPU(cpu);
     bool locked = false;
 
-    if (irq < 0 || irq > 7)
+    if (irq < 0 || irq > 7) {
         return;
+    }
 
     /* Make sure locking works even if BQL is already held by the caller */
     if (!qemu_mutex_iothread_locked()) {
This page took 0.026498 seconds and 4 git commands to generate.