net: Fix warning fallout from recent NAPI interface changes.
When we removed the network device argument from several
NAPI interfaces in 908a7a16b8
("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>
This commit is contained in:
@ -846,7 +846,6 @@ static int b44_rx(struct b44 *bp, int budget)
|
||||
static int b44_poll(struct napi_struct *napi, int budget)
|
||||
{
|
||||
struct b44 *bp = container_of(napi, struct b44, napi);
|
||||
struct net_device *netdev = bp->dev;
|
||||
int work_done;
|
||||
|
||||
spin_lock_irq(&bp->lock);
|
||||
|
Reference in New Issue
Block a user