mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
NET: turn local_save_flags() + local_irq_disable() into local_irq_save()
drivers/net/amd8111e.c::amd8111e_poll() contains local_irq_disable() after local_save_flags(). Turn it into local_irq_save(). Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
0d38ff1d3d
commit
b7e36bfa9f
@ -1334,8 +1334,7 @@ err_no_interrupt:
|
||||
static void amd8111e_poll(struct net_device *dev)
|
||||
{
|
||||
unsigned long flags;
|
||||
local_save_flags(flags);
|
||||
local_irq_disable();
|
||||
local_irq_save(flags);
|
||||
amd8111e_interrupt(0, dev);
|
||||
local_irq_restore(flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user