Commit 6c06ea4c authored by Aleksandar Markovic's avatar Aleksandar Markovic
Browse files

target/mips: Style improvements in mips_int.c



Fixes mostly errors and warnings reported by 'checkpatch.pl -f'.

Signed-off-by: default avatarAleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: default avatarAleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1566216496-17375-15-git-send-email-aleksandar.markovic@rt-rk.com>
parent a4cbd0da
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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()) {