]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Remove unused link config code
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:14 +0000 (15:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:21:33 +0000 (15:21 +0800)
commit995bb5fd5c3b3ee2e78f1bca5300428ec9a5c202
tree628c29c3fc582fd3078f1917d7b53dc7654541a7
parent57121a108baa76b7ab207898611de429ad069ca7
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.

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