Re: [PATCH] ixgbe: move tc variable to CONFIG_IXGBE_DCB
From: David Miller
Date: Fri Nov 20 2009 - 14:13:49 EST
From: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
Date: Fri, 20 Nov 2009 06:24:21 -0800
> On Fri, Nov 20, 2009 at 06:02, Jaswinder Singh Rajput
> <jaswinder@xxxxxxxxxx> wrote:
>>
>> 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@xxxxxxxxx>
...
> I just submitted a patch to fix this. So NAK.
But his is much cleaner that your's, less ifdefs. I think we
should therefore use Jasdinder's version.
¢éì®&Þ~º&¶¬+-±éÝ¥w®Ë±Êâmébìdz¹Þ)í
æèw*jg¬±¨¶Ýj/êäz¹Þà2Þ¨èÚ&¢)ß«a¶Úþø®G«éh®æj:+v¨wèÙ>W±êÞiÛaxPjØm¶ÿÃ-»+ùd_