aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/epic100.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-01-19 19:43:59 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-21 17:33:50 -0500
commit288379f050284087578b77e04f040b57db3db3f8 (patch)
treeac5f5c83e2778a1966327d87316fc94067363b45 /drivers/net/epic100.c
parent627af770c63acddc2402dd19fec70df5c3ad8ab7 (diff)
net: Remove redundant NAPI functions
Following the removal of the unused struct net_device * parameter from the NAPI functions named *netif_rx_* in commit 908a7a1, they are exactly equivalent to the corresponding *napi_* functions and are therefore redundant. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/epic100.c')
-rw-r--r--drivers/net/epic100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/epic100.c b/drivers/net/epic100.c
index a539bc3163c..b60e27dfcfa 100644
--- a/drivers/net/epic100.c
+++ b/drivers/net/epic100.c
@@ -1114,9 +1114,9 @@ static irqreturn_t epic_interrupt(int irq, void *dev_instance)
1114 1114
1115 if ((status & EpicNapiEvent) && !ep->reschedule_in_poll) { 1115 if ((status & EpicNapiEvent) && !ep->reschedule_in_poll) {
1116 spin_lock(&ep->napi_lock); 1116 spin_lock(&ep->napi_lock);
1117 if (netif_rx_schedule_prep(&ep->napi)) { 1117 if (napi_schedule_prep(&ep->napi)) {
1118 epic_napi_irq_off(dev, ep); 1118 epic_napi_irq_off(dev, ep);
1119 __netif_rx_schedule(&ep->napi); 1119 __napi_schedule(&ep->napi);
1120 } else 1120 } else
1121 ep->reschedule_in_poll++; 1121 ep->reschedule_in_poll++;
1122 spin_unlock(&ep->napi_lock); 1122 spin_unlock(&ep->napi_lock);
@@ -1293,7 +1293,7 @@ rx_action:
1293 1293
1294 more = ep->reschedule_in_poll; 1294 more = ep->reschedule_in_poll;
1295 if (!more) { 1295 if (!more) {
1296 __netif_rx_complete(napi); 1296 __napi_complete(napi);
1297 outl(EpicNapiEvent, ioaddr + INTSTAT); 1297 outl(EpicNapiEvent, ioaddr + INTSTAT);
1298 epic_napi_irq_on(dev, ep); 1298 epic_napi_irq_on(dev, ep);
1299 } else 1299 } else