All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: net: misc: Remove unused OOM variables
       [not found] <51108250.mCy4M9/YF2ueqPWm%fengguang.wu@intel.com>
@ 2013-02-05  4:22 ` Joe Perches
  2013-02-06 20:02   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2013-02-05  4:22 UTC (permalink / raw)
  To: David Miller; +Cc: kbuild test robot, netdev, linux-wimax, wimax

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>
---
 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 1 -
 drivers/net/wimax/i2400m/rx.c                        | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c
index db50598..4782dcf 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)
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index 8077e6e..0b60295 100644
--- a/drivers/net/wimax/i2400m/rx.c
+++ b/drivers/net/wimax/i2400m/rx.c
@@ -1346,7 +1346,6 @@ EXPORT_SYMBOL(i2400m_unknown_barker);
 int i2400m_rx_setup(struct i2400m *i2400m)
 {
 	int result = 0;
-	struct device *dev = i2400m_dev(i2400m);
 
 	i2400m->rx_reorder = i2400m_rx_reorder_disabled? 0 : 1;
 	if (i2400m->rx_reorder) {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: net: misc: Remove unused OOM variables
  2013-02-05  4:22 ` [PATCH] drivers: net: misc: Remove unused OOM variables Joe Perches
@ 2013-02-06 20:02   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-02-06 20:02 UTC (permalink / raw)
  To: joe; +Cc: fengguang.wu, netdev, linux-wimax, wimax

From: Joe Perches <joe@perches.com>
Date: Mon, 04 Feb 2013 20:22:29 -0800

> 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>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-06 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <51108250.mCy4M9/YF2ueqPWm%fengguang.wu@intel.com>
2013-02-05  4:22 ` [PATCH] drivers: net: misc: Remove unused OOM variables Joe Perches
2013-02-06 20:02   ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.