ixgbe: move tc variable to CONFIG_IXGBE_DCB
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Fri, 20 Nov 2009 04:02:27 +0000 (04:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2009 21:47:27 +0000 (13:47 -0800)
commit30b768323f87bca15f14d6d146da397f98c29fe6
tree070b48e887a7891c5e9a6799155ac3a05ee56b95
parent6440fe059ee8b49b548c8c2c1447530075d07e10
ixgbe: move tc variable to CONFIG_IXGBE_DCB

tc is required by CONFIG_IXGBE_DCB.
This also fixes compilation warning:

 drivers/net/ixgbe/ixgbe_main.c: In function ‘ixgbe_tx_is_paused’:
 drivers/net/ixgbe/ixgbe_main.c:245: warning: unused variable ‘tc’

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c