]> git.karo-electronics.de Git - linux-beck.git/commitdiff
nubus: Remove superfluous interrupt disable/restore
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 28 Sep 2014 09:06:30 +0000 (11:06 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 27 Oct 2014 10:03:19 +0000 (11:03 +0100)
As of commit e4dc601bf99ccd1c ("m68k: Disable/restore interrupts in
hwreg_present()/hwreg_write()"), this is no longer needed.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/nubus/nubus.c

index 5066a7ef7b6c38a2064c69003bff4f90b481293e..3319cf19deebe0f27a0243bb0661cebc24a3f74a 100644 (file)
@@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot)
        rp = nubus_rom_addr(slot);      
        for(i = 4; i; i--)
        {
-               unsigned long flags;
                int card_present;
 
                rp--;
-               local_irq_save(flags);
                card_present = hwreg_present(rp);
-               local_irq_restore(flags);
-              
                if (!card_present)
                        continue;