You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
627af770c6
commit
288379f050
+3
-3
@@ -3214,7 +3214,7 @@ static int skge_poll(struct napi_struct *napi, int to_do)
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&hw->hw_lock, flags);
|
||||
__netif_rx_complete(napi);
|
||||
__napi_complete(napi);
|
||||
hw->intr_mask |= napimask[skge->port];
|
||||
skge_write32(hw, B0_IMSK, hw->intr_mask);
|
||||
skge_read32(hw, B0_IMSK);
|
||||
@@ -3377,7 +3377,7 @@ static irqreturn_t skge_intr(int irq, void *dev_id)
|
||||
if (status & (IS_XA1_F|IS_R1_F)) {
|
||||
struct skge_port *skge = netdev_priv(hw->dev[0]);
|
||||
hw->intr_mask &= ~(IS_XA1_F|IS_R1_F);
|
||||
netif_rx_schedule(&skge->napi);
|
||||
napi_schedule(&skge->napi);
|
||||
}
|
||||
|
||||
if (status & IS_PA_TO_TX1)
|
||||
@@ -3397,7 +3397,7 @@ static irqreturn_t skge_intr(int irq, void *dev_id)
|
||||
|
||||
if (status & (IS_XA2_F|IS_R2_F)) {
|
||||
hw->intr_mask &= ~(IS_XA2_F|IS_R2_F);
|
||||
netif_rx_schedule(&skge->napi);
|
||||
napi_schedule(&skge->napi);
|
||||
}
|
||||
|
||||
if (status & IS_PA_TO_RX2) {
|
||||
|
||||
Reference in New Issue
Block a user