drivers: net: misc: Remove unused OOM variables
commits9d11bd159
("wimax: Remove unnecessary alloc/OOM messages, alloc cleanups") andb2adaca92
("ethernet: Remove unnecessary alloc/OOM messages, alloc cleanups") added a couple of unused variable warnings. Remove the now unused variables. Noticed-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
62b5942aa5
commit
efc496eb31
@@ -201,7 +201,6 @@ int netxen_alloc_sw_resources(struct netxen_adapter *adapter)
|
||||
|
||||
struct netxen_cmd_buffer *cmd_buf_arr;
|
||||
struct net_device *netdev = adapter->netdev;
|
||||
struct pci_dev *pdev = adapter->pdev;
|
||||
|
||||
tx_ring = kzalloc(sizeof(struct nx_host_tx_ring), GFP_KERNEL);
|
||||
if (tx_ring == NULL)
|
||||
|
Reference in New Issue
Block a user