projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed2da62
)
sfc: falcon: remove duplicated bit-wise or of LOOPBACK_SGMII
author
Colin Ian King
<
[email protected]
>
Fri, 23 Feb 2018 14:00:56 +0000
(14:00 +0000)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/sfc/falcon/enum.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/falcon/enum.h
b/drivers/net/ethernet/sfc/falcon/enum.h
index 30a1136fc9092934541fa91d8befca61afff4446..4824fcf5c3d41be58ec3e57fa6f661e37d1841d3 100644
(file)
--- 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) | \