All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/net/igb: remove unused variable in igb_xmit_frame_ring_adv.
@ 2010-10-29  2:55 Tao Ma
  2010-10-29  3:12 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Tao Ma @ 2010-10-29  2:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev, Tao Ma, Jiri Kosina

drivers/net/igb/igb_main.c: In function ‘igb_xmit_frame_ring_adv’:
drivers/net/igb/igb_main.c:4110: warning: unused variable ‘adapter’

Cc: Jiri Kosina <trivial@kernel.org>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
---
 drivers/net/igb/igb_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 14db09e..892d196 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -4107,7 +4107,6 @@ static inline int igb_maybe_stop_tx(struct igb_ring *tx_ring, int size)
 netdev_tx_t igb_xmit_frame_ring_adv(struct sk_buff *skb,
 				    struct igb_ring *tx_ring)
 {
-	struct igb_adapter *adapter = netdev_priv(tx_ring->netdev);
 	int tso = 0, count;
 	u32 tx_flags = 0;
 	u16 first;
-- 
1.7.1.GIT


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

* Re: [PATCH] drivers/net/igb: remove unused variable in igb_xmit_frame_ring_adv.
  2010-10-29  2:55 [PATCH] drivers/net/igb: remove unused variable in igb_xmit_frame_ring_adv Tao Ma
@ 2010-10-29  3:12 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-10-29  3:12 UTC (permalink / raw)
  To: tao.ma; +Cc: linux-kernel, netdev, trivial


Fixed already in the net-2.6 GIT tree.


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

end of thread, other threads:[~2010-10-29  3:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-29  2:55 [PATCH] drivers/net/igb: remove unused variable in igb_xmit_frame_ring_adv Tao Ma
2010-10-29  3:12 ` 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.