diff options
author | Colin Ian King | 2018-02-23 15:00:56 +0100 |
---|---|---|
committer | David S. Miller | 2018-02-26 17:33:52 +0100 |
commit | 9baeb5eb1f83b8c64a80ee9926204909e275b5cc (patch) | |
tree | 6c8ea0657a39db85856fdc74a4c8bb5508d8cba5 /drivers/net | |
parent | mlxsw: spectrum_kvdl: avoid uninitialized variable warning (diff) | |
download | kernel-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.h | 1 |
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) | \ |