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)
commitd13ba512cbba7de5d55d7a3b2aae7d83c8921457
treed0c284b767071ab109b7e881354ad32d36655d5d
parent34655ad63893d3dd64f3fbaaaa0791550e554fa9
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