]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Remove unused link config code
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:14 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 01:45:06 +0000 (20:45 -0500)
commiteed9673e88ab54fc353a6869be0ee0c86f3c5d03
tree8538634dec96b1f086c23ee60ee565d138b681cf
parent2a6b4f04b482b795b7ee946a0e88655b1c930b7b
tg3: Remove unused link config code

When tg3 devices are shutdown, the driver uses the
TG3_PHYFLG_IS_LOW_POWER flag to enable a static phy configuration.
Any attempt to use the link configuration variables is dead code.  This
patch removes such code.

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