nubus: Remove superfluous interrupt disable/restore
As of commit e4dc601bf9 ("m68k: Disable/restore interrupts in
hwreg_present()/hwreg_write()"), this is no longer needed.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
@@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot)
|
|||||||
rp = nubus_rom_addr(slot);
|
rp = nubus_rom_addr(slot);
|
||||||
for(i = 4; i; i--)
|
for(i = 4; i; i--)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
|
||||||
int card_present;
|
int card_present;
|
||||||
|
|
||||||
rp--;
|
rp--;
|
||||||
local_irq_save(flags);
|
|
||||||
card_present = hwreg_present(rp);
|
card_present = hwreg_present(rp);
|
||||||
local_irq_restore(flags);
|
|
||||||
|
|
||||||
if (!card_present)
|
if (!card_present)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user