diff options
author | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-08-19 14:07:53 +0200 |
---|---|---|
committer | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-08-19 19:53:37 +0200 |
commit | 6c06ea4cecad8030ab3296b81eeb76a1f0256e71 (patch) | |
tree | 43bd6974a1b99337c04f6c62d558edd0a14a00f8 /hw/mips | |
parent | a4cbd0da37ffcdd4efd2a6e2e0466dccc33ec9be (diff) |
target/mips: Style improvements in mips_int.c
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1566216496-17375-15-git-send-email-aleksandar.markovic@rt-rk.com>
Diffstat (limited to 'hw/mips')
-rw-r--r-- | hw/mips/mips_int.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips/mips_int.c b/hw/mips/mips_int.c index 74cf587d5b..5ebc9618a7 100644 --- a/hw/mips/mips_int.c +++ b/hw/mips/mips_int.c @@ -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()) { |