* [PATCH] igb: Fix unused variable warning.
@ 2010-10-27 0:56 Jesse Gross
2010-10-28 2:13 ` Jeff Kirsher
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Gross @ 2010-10-27 0:56 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Commit eab6d18d "vlan: Don't check for vlan group before
vlan_tx_tag_present" removed the need for the adapter variable
in igb_xmit_frame_ring_adv(). This removes the variable as well
to avoid the compiler warning.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jesse Gross <jesse@nicira.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] igb: Fix unused variable warning.
2010-10-27 0:56 [PATCH] igb: Fix unused variable warning Jesse Gross
@ 2010-10-28 2:13 ` Jeff Kirsher
2010-10-28 2:44 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Kirsher @ 2010-10-28 2:13 UTC (permalink / raw)
To: Jesse Gross; +Cc: David Miller, netdev
On Tue, Oct 26, 2010 at 17:56, Jesse Gross <jesse@nicira.com> wrote:
> Commit eab6d18d "vlan: Don't check for vlan group before
> vlan_tx_tag_present" removed the need for the adapter variable
> in igb_xmit_frame_ring_adv(). This removes the variable as well
> to avoid the compiler warning.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Jesse Gross <jesse@nicira.com>
> ---
> drivers/net/igb/igb_main.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] igb: Fix unused variable warning.
2010-10-28 2:13 ` Jeff Kirsher
@ 2010-10-28 2:44 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2010-10-28 2:44 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: jesse, netdev
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Wed, 27 Oct 2010 19:13:23 -0700
> On Tue, Oct 26, 2010 at 17:56, Jesse Gross <jesse@nicira.com> wrote:
>> Commit eab6d18d "vlan: Don't check for vlan group before
>> vlan_tx_tag_present" removed the need for the adapter variable
>> in igb_xmit_frame_ring_adv(). This removes the variable as well
>> to avoid the compiler warning.
>>
>> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
>> Signed-off-by: Jesse Gross <jesse@nicira.com>
>> ---
>> drivers/net/igb/igb_main.c | 1 -
>> 1 files changed, 0 insertions(+), 1 deletions(-)
>>
>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-28 2:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27 0:56 [PATCH] igb: Fix unused variable warning Jesse Gross
2010-10-28 2:13 ` Jeff Kirsher
2010-10-28 2:44 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).