sfc: Remove duplicate argument
authorWan Jiabing <wanjiabing@vivo.com>
Wed, 14 Apr 2021 11:06:45 +0000 (19:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2021 20:55:07 +0000 (13:55 -0700)
Fix the following coccicheck warning:

./drivers/net/ethernet/sfc/enum.h:80:7-28: duplicated argument to |

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/enum.h

index 3332cdf..cd590e0 100644 (file)
@@ -78,7 +78,6 @@ enum efx_loopback_mode {
                            (1 << LOOPBACK_XAUI) |              \
                            (1 << LOOPBACK_GMII) |              \
                            (1 << LOOPBACK_SGMII) |             \
-                           (1 << LOOPBACK_SGMII) |             \
                            (1 << LOOPBACK_XGBR) |              \
                            (1 << LOOPBACK_XFI) |               \
                            (1 << LOOPBACK_XAUI_FAR) |          \