drivers/net/cxgb3: comment out dead code
authorHannes Eder <hannes@hanneseder.net>
Fri, 26 Dec 2008 07:59:28 +0000 (23:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 07:59:28 +0000 (23:59 -0800)
commitaf8eca5cbbc8f991ec14c8d7e3350bbe2ea49655
tree1e8a4f5e2436c628297a2c5b36418186b6beee5a
parentb06715b7a3db551dcf4706f05e8d2285a66fe05f
drivers/net/cxgb3: comment out dead code

The function 'vsc8211_set_speed_duplex' is not used, so comment it
out.  For 'vsc8211_set_automdi' the function 'vsc8211_set_speed_duplex'
is the only caller, so comment it out as well.

Fix this (sparse) warning:

  drivers/net/cxgb3/vsc8211.c:269: warning: 'vsc8211_set_automdi' defined but not used
  drivers/net/cxgb3/vsc8211.c:295:5: warning: symbol 'vsc8211_set_speed_duplex' was not declared. Should it be static?

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/vsc8211.c