Skip to content

Commit

Permalink
nubus: Remove superfluous interrupt disable/restore
Browse files Browse the repository at this point in the history
As of commit e4dc601 ("m68k: Disable/restore interrupts in
hwreg_present()/hwreg_write()"), this is no longer needed.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
geertu committed Oct 27, 2014
1 parent cac7f24 commit bcf8eb0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/nubus/nubus.c
Expand Up @@ -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;

Expand Down

0 comments on commit bcf8eb0

Please sign in to comment.