]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Remove the XGBE_LINK state bit
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 30 Sep 2015 13:53:22 +0000 (08:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:23:27 +0000 (03:23 -0700)
commitc43d9126ce8300551ed9510cc7321daebd7c36f0
tree3d4f7b6fc7822f2f72d516101b82c65fc00b37ec
parent30177c17c6910c3ecb7aa428ba7c37a4cd9319f6
amd-xgbe: Remove the XGBE_LINK state bit

The XGBE_LINK bit is used just to determine whether to call the
netif_carrier_on/off functions. Rather than define and use this bit,
just call the functions. The netif_carrier_ok function can be used in
place of checking the XGBE_LINK bit in the future.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
drivers/net/ethernet/amd/xgbe/xgbe.h