OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a786a
)
net: dsa: qca8k: Remove redundant parentheses
author
Michal Vokáč
<vokac.m@gmail.com>
Wed, 23 May 2018 06:20:24 +0000
(08:20 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 May 2018 19:46:34 +0000
(15:46 -0400)
Fix warning reported by checkpatch.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/qca8k.c
b/drivers/net/dsa/qca8k.c
index
46c178f
..
cdcde7f
100644
(file)
--- a/
drivers/net/dsa/qca8k.c
+++ b/
drivers/net/dsa/qca8k.c
@@
-468,7
+468,7
@@
qca8k_port_set_status(struct qca8k_priv *priv, int port, int enable)
u32 mask = QCA8K_PORT_STATUS_TXMAC | QCA8K_PORT_STATUS_RXMAC;
/* Port 0 and 6 have no internal PHY */
- if (
(port > 0) && (port < 6)
)
+ if (
port > 0 && port < 6
)
mask |= QCA8K_PORT_STATUS_LINK_AUTO;
if (enable)