]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Remove SPEED_UNKNOWN checks
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 22 Feb 2012 12:35:19 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2012 06:57:17 +0000 (01:57 -0500)
commit5b39433582cf945bb2800e0c8329edd13a2d8d35
treed0c284b767071ab109b7e881354ad32d36655d5d
parent6c00eca009aaa162ad880d0b4bb5a846a0d5117d
tg3: Remove SPEED_UNKNOWN checks

tg3_phy_copper_begin() has code that configures the link
advertisements through the use of the link_config.speed and
link_config.duplex members.  The driver does not internally use these
members in this way, nor is it (currently) permitted via the ethtool
interface.  This patch removes the dead code.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c