Staging: benet: convert netif_rx_* to napi_*
*netif_rx_* functions were removed by 288379f ("net: Remove redundant NAPI functions")
Signed-off-by Alexander Beregalov <[email protected]>
---
drivers/staging/benet/be_int.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/benet/be_int.c +2 -2
@@ -717,7 +717,7 @@ int be_poll(struct napi_struct *napi, int budget)/* All consumed */ if (work_done < budget) { -netif_rx_complete (napi); +napi_complete (napi);/* enable intr */ be_notify_cmpl (pnob, work_done, pnob->rx_cq_id,1 ); }else {
@@ -752,7 +752,7 @@ static inline u32 process_events(struct be_net_object *pnob) rid =AMAP_GET_BITS_PTR (EQ_ENTRY , ResourceID, eqp);if (rid == pnob->rx_cq_id) { adapter->be_stat.bes_rx_events++; -netif_rx_schedule (&pnob->napi); +napi_schedule (&pnob->napi); }else if (rid == pnob->tx_cq_id) {process_nic_tx_completions (pnob); }else if (rid == pnob->mcc_cq_id) {