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>
这个提交包含在:
@@ -99,7 +99,6 @@ static int nics_per_function = 1;
|
||||
static int nes_netdev_poll(struct napi_struct *napi, int budget)
|
||||
{
|
||||
struct nes_vnic *nesvnic = container_of(napi, struct nes_vnic, napi);
|
||||
struct net_device *netdev = nesvnic->netdev;
|
||||
struct nes_device *nesdev = nesvnic->nesdev;
|
||||
struct nes_hw_nic_cq *nescq = &nesvnic->nic_cq;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户