aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/falcon
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-23 14:00:56 +0000
committerDavid S. Miller <davem@davemloft.net>2018-02-26 11:33:52 -0500
commit9baeb5eb1f83b8c64a80ee9926204909e275b5cc (patch)
tree6c8ea0657a39db85856fdc74a4c8bb5508d8cba5 /drivers/net/ethernet/sfc/falcon
parentmlxsw: spectrum_kvdl: avoid uninitialized variable warning (diff)
downloadlinux-dev-9baeb5eb1f83b8c64a80ee9926204909e275b5cc.tar.xz
linux-dev-9baeb5eb1f83b8c64a80ee9926204909e275b5cc.zip
sfc: falcon: remove duplicated bit-wise or of LOOPBACK_SGMII
Bit pattern LOOPBACK_SGMII is being bit-wise or'd twice; remove the redundant 2nd LOOPBACK_SGMII Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/falcon')
-rw-r--r--drivers/net/ethernet/sfc/falcon/enum.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/falcon/enum.h b/drivers/net/ethernet/sfc/falcon/enum.h
index 30a1136fc909..4824fcf5c3d4 100644
--- a/drivers/net/ethernet/sfc/falcon/enum.h
+++ b/drivers/net/ethernet/sfc/falcon/enum.h
@@ -81,7 +81,6 @@ enum ef4_loopback_mode {
(1 << LOOPBACK_XAUI) | \
(1 << LOOPBACK_GMII) | \
(1 << LOOPBACK_SGMII) | \
- (1 << LOOPBACK_SGMII) | \
(1 << LOOPBACK_XGBR) | \
(1 << LOOPBACK_XFI) | \
(1 << LOOPBACK_XAUI_FAR) | \