net-next: stmmac: Remove unnecessary parenthesis
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
99a4cca216
commit
50cb16d4fd
|
@ -789,7 +789,7 @@ static void stmmac_adjust_link(struct net_device *dev)
|
|||
* If not, we operate in half-duplex mode. */
|
||||
if (phydev->duplex != priv->oldduplex) {
|
||||
new_state = true;
|
||||
if (!(phydev->duplex))
|
||||
if (!phydev->duplex)
|
||||
ctrl &= ~priv->hw->link.duplex;
|
||||
else
|
||||
ctrl |= priv->hw->link.duplex;
|
||||
|
|
Loading…
Reference in New Issue