diff options
author | Joe Perches <joe@perches.com> | 2013-02-04 19:22:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-06 20:58:52 +0100 |
commit | efc496eb317ce46755acc46172daa0992b184ed0 (patch) | |
tree | 56feb1368d82d38b793c51e83b7a0586b048a089 /drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | |
parent | net: core: Remove unnecessary alloc/OOM messages (diff) | |
download | linux-efc496eb317ce46755acc46172daa0992b184ed0.tar.xz linux-efc496eb317ce46755acc46172daa0992b184ed0.zip |
drivers: net: misc: Remove unused OOM variables
commits 9d11bd159
("wimax: Remove unnecessary alloc/OOM messages, alloc cleanups")
and b2adaca92
("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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index db50598006ef..4782dcfde736 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c @@ -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) |