From: Jiri Kosina Date: Tue, 6 Feb 2007 00:29:49 +0000 (-0800) Subject: NET: turn local_save_flags() + local_irq_disable() into local_irq_save() X-Git-Tag: MMI-PSA29.97-13-9~44985^2~11^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7e36bfa9ffa2f6097b622ba07a95d823db553e4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index 18896f24d407..9c399aaefbdd 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c @@ -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); }