projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c3df7
)
sfc: Remove duplicate argument
author
Wan Jiabing
<wanjiabing@vivo.com>
Wed, 14 Apr 2021 11:06:45 +0000
(19:06 +0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/sfc/enum.h
b/drivers/net/ethernet/sfc/enum.h
index 3332cdf2918a341a09a9649742a7c9227958bfde..cd590e0685e5c5422381f01b7da9738938538eb6 100644
(file)
--- a/
drivers/net/ethernet/sfc/enum.h
+++ b/
drivers/net/ethernet/sfc/enum.h
@@
-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) | \