aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds2014-12-09 13:04:59 -0800
committerLinus Torvalds2014-12-09 13:04:59 -0800
commit50569687e9c688a8688982805be6d8e3c8879042 (patch)
treebd01cba8f9ba9f260650b42e958af36a1089ad42 /drivers
parenta4a26e8e924a8e2412b63276c1a23cc127997a73 (diff)
parentf0b99a643e9613beb28af43333bbfa90d4bf85cc (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k updates from Geert Uytterhoeven. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k/mm: Eliminate memset after alloc_bootmem_pages nubus: Remove superfluous interrupt disable/restore
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nubus/nubus.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c
index 5066a7ef7b6c..3319cf19deeb 100644
--- a/drivers/nubus/nubus.c
+++ b/drivers/nubus/nubus.c
@@ -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;