aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/xgbe/xgbe.h
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2015-09-30 08:53:22 -0500
committerDavid S. Miller <davem@davemloft.net>2015-10-05 03:23:27 -0700
commit50789845cfc37d5331b56e1a566ddc95aeac0a7d (patch)
tree3d4f7b6fc7822f2f72d516101b82c65fc00b37ec /drivers/net/ethernet/amd/xgbe/xgbe.h
parentamd-xgbe: Use device workqueue instead of system workqueue (diff)
downloadlinux-dev-50789845cfc37d5331b56e1a566ddc95aeac0a7d.tar.xz
linux-dev-50789845cfc37d5331b56e1a566ddc95aeac0a7d.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/amd/xgbe/xgbe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe.h b/drivers/net/ethernet/amd/xgbe/xgbe.h
index a5f5a7869609..e234b9970318 100644
--- a/drivers/net/ethernet/amd/xgbe/xgbe.h
+++ b/drivers/net/ethernet/amd/xgbe/xgbe.h
@@ -459,7 +459,6 @@ struct xgbe_channel {
enum xgbe_state {
XGBE_DOWN,
- XGBE_LINK,
XGBE_LINK_INIT,
XGBE_LINK_ERR,
};