summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorColin Ian King2018-02-23 15:00:56 +0100
committerDavid S. Miller2018-02-26 17:33:52 +0100
commit9baeb5eb1f83b8c64a80ee9926204909e275b5cc (patch)
tree6c8ea0657a39db85856fdc74a4c8bb5508d8cba5 /drivers/net
parentmlxsw: spectrum_kvdl: avoid uninitialized variable warning (diff)
downloadkernel-qcow2-linux-9baeb5eb1f83b8c64a80ee9926204909e275b5cc.tar.gz
kernel-qcow2-linux-9baeb5eb1f83b8c64a80ee9926204909e275b5cc.tar.xz
kernel-qcow2-linux-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')
-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) | \