net: stmmac: reduce indentation when calling stmmac_xpcs_setup
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 11 Jun 2021 20:05:21 +0000 (23:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:43:55 +0000 (13:43 -0700)
commit7413f9a6af00bb4dc0ef01944aceb8e2ee17a8d5
tree36fc2415e3580d69386e4dd9e37bf8cdcb5f9a98
parent47538dbeb70198c6036cfd4a60b292f1398f8f5e
net: stmmac: reduce indentation when calling stmmac_xpcs_setup

There is no reason to embed an if within an if, we can just logically
AND the two conditions.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c