net: stmmac: reverse Christmas tree notation in stmmac_xpcs_setup
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 11 Jun 2021 20:05:20 +0000 (23:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:43:55 +0000 (13:43 -0700)
Reorder the variable declarations in descending line length order,
according to the networking coding style.

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_mdio.c

index 3b3033b..a5d150c 100644 (file)
@@ -399,11 +399,11 @@ int stmmac_mdio_reset(struct mii_bus *bus)
 
 int stmmac_xpcs_setup(struct mii_bus *bus)
 {
-       int mode, addr;
        struct net_device *ndev = bus->priv;
-       struct dw_xpcs *xpcs;
-       struct stmmac_priv *priv;
        struct mdio_device *mdiodev;
+       struct stmmac_priv *priv;
+       struct dw_xpcs *xpcs;
+       int mode, addr;
 
        priv = netdev_priv(ndev);
        mode = priv->plat->phy_interface;