Message ID | 1526987792-56861-8-git-send-email-michal.vokac@ysoft.com |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
Series | Add support for QCA8334 switch | expand |
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index c834893..c0da402 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -513,7 +513,7 @@ qca8k_port_set_status(struct qca8k_priv *priv, int port, int enable) pr_debug("qca: port %i set status %i\n", port, enable); /* 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)