sfc: falcon: remove duplicated bit-wise or of LOOPBACK_SGMII
authorColin Ian King <colin.king@canonical.com>
Fri, 23 Feb 2018 14:00:56 +0000 (14:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 16:33:52 +0000 (11:33 -0500)
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>
drivers/net/ethernet/sfc/falcon/enum.h

index 30a1136fc9092934541fa91d8befca61afff4446..4824fcf5c3d41be58ec3e57fa6f661e37d1841d3 100644 (file)
@@ -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) |          \