]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Remove SPEED_UNKNOWN checks
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 22 Feb 2012 12:35:19 +0000 (12:35 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:04 +0000 (15:23 +0800)
commit0163346596e68e88e701e57bfa98f694ac69fbc8
tree8fde0157e8db868b259c5bea48576c0bd45ba000
parent443ed55e443c210bae5a626aed985c0ca66b232a
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.

(cherry picked from commit d13ba512cbba7de5d55d7a3b2aae7d83c8921457)
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c