]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Fix unused variable warning.
authorJesse Gross <jesse@nicira.com>
Tue, 26 Oct 2010 14:56:03 +0000 (14:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 02:43:55 +0000 (19:43 -0700)
commit12113cf7875d17837a5600f23d2cc71bff1d6b6f
treed2cfd9463d9e381af40955848b5b296832808098
parent64e912cf43761f6ceaaef5b940b5b02ab20f2ae8
igb: Fix unused variable warning.

Commit e37a1e89 "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>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c