aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r--drivers/net/e1000e/netdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 63e5688011e8..3eeae1cf994e 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -1988,8 +1988,7 @@ static int e1000_clean(struct napi_struct *napi, int budget)
1988 struct net_device *poll_dev = adapter->netdev; 1988 struct net_device *poll_dev = adapter->netdev;
1989 int tx_cleaned = 0, work_done = 0; 1989 int tx_cleaned = 0, work_done = 0;
1990 1990
1991 /* Must NOT use netdev_priv macro here. */ 1991 adapter = netdev_priv(poll_dev);
1992 adapter = poll_dev->priv;
1993 1992
1994 if (adapter->msix_entries && 1993 if (adapter->msix_entries &&
1995 !(adapter->rx_ring->ims_val & adapter->tx_ring->ims_val)) 1994 !(adapter->rx_ring->ims_val & adapter->tx_ring->ims_val))