diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-27 02:10:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-27 02:10:00 +0300 |
commit | 2d5451d2614583de0c9aaf61cf5f77faf5694105 (patch) | |
tree | 03237a37f949b384ca59698b24f72f397c99959d /drivers/net/sfc | |
parent | 0da2afd59653d2edf5c8e0f09b23f367ab5bc80f (diff) | |
download | linux-2d5451d2614583de0c9aaf61cf5f77faf5694105.tar.xz |
net: Fix warning fallout from recent NAPI interface changes.
When we removed the network device argument from several
NAPI interfaces in 908a7a16b852ffd618a9127be8d62432182d81b4
("net: Remove unused netdev arg from some NAPI interfaces.")
several drivers now started getting unused variable warnings.
This fixes those up.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r-- | drivers/net/sfc/efx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 5cc59e654d77..7673fd92eaf5 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c @@ -216,7 +216,6 @@ static int efx_poll(struct napi_struct *napi, int budget) { struct efx_channel *channel = container_of(napi, struct efx_channel, napi_str); - struct net_device *napi_dev = channel->napi_dev; int rx_packets; EFX_TRACE(channel->efx, "channel %d NAPI poll executing on CPU %d\n", |