diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-01-19 19:43:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:33:50 -0500 |
commit | 288379f050284087578b77e04f040b57db3db3f8 (patch) | |
tree | ac5f5c83e2778a1966327d87316fc94067363b45 /drivers/net/ehea | |
parent | 627af770c63acddc2402dd19fec70df5c3ad8ab7 (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/ehea')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index dfe92264e825..8dc2047da5c0 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -830,7 +830,7 @@ static int ehea_poll(struct napi_struct *napi, int budget) | |||
830 | while ((rx != budget) || force_irq) { | 830 | while ((rx != budget) || force_irq) { |
831 | pr->poll_counter = 0; | 831 | pr->poll_counter = 0; |
832 | force_irq = 0; | 832 | force_irq = 0; |
833 | netif_rx_complete(napi); | 833 | napi_complete(napi); |
834 | ehea_reset_cq_ep(pr->recv_cq); | 834 | ehea_reset_cq_ep(pr->recv_cq); |
835 | ehea_reset_cq_ep(pr->send_cq); | 835 | ehea_reset_cq_ep(pr->send_cq); |
836 | ehea_reset_cq_n1(pr->recv_cq); | 836 | ehea_reset_cq_n1(pr->recv_cq); |
@@ -841,7 +841,7 @@ static int ehea_poll(struct napi_struct *napi, int budget) | |||
841 | if (!cqe && !cqe_skb) | 841 | if (!cqe && !cqe_skb) |
842 | return rx; | 842 | return rx; |
843 | 843 | ||
844 | if (!netif_rx_reschedule(napi)) | 844 | if (!napi_reschedule(napi)) |
845 | return rx; | 845 | return rx; |
846 | 846 | ||
847 | cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES); | 847 | cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES); |
@@ -859,7 +859,7 @@ static void ehea_netpoll(struct net_device *dev) | |||
859 | int i; | 859 | int i; |
860 | 860 | ||
861 | for (i = 0; i < port->num_def_qps; i++) | 861 | for (i = 0; i < port->num_def_qps; i++) |
862 | netif_rx_schedule(&port->port_res[i].napi); | 862 | napi_schedule(&port->port_res[i].napi); |
863 | } | 863 | } |
864 | #endif | 864 | #endif |
865 | 865 | ||
@@ -867,7 +867,7 @@ static irqreturn_t ehea_recv_irq_handler(int irq, void *param) | |||
867 | { | 867 | { |
868 | struct ehea_port_res *pr = param; | 868 | struct ehea_port_res *pr = param; |
869 | 869 | ||
870 | netif_rx_schedule(&pr->napi); | 870 | napi_schedule(&pr->napi); |
871 | 871 | ||
872 | return IRQ_HANDLED; | 872 | return IRQ_HANDLED; |
873 | } | 873 | } |