]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: stmmac: reduce indentation by adding a continue
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 15 Feb 2017 09:46:44 +0000 (10:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 18:20:55 +0000 (13:20 -0500)
commitcc26dc67b69a736b17c69fa3f2251c8fefa99b75
tree80d9d4f0b7c2b40c8e69b7d75b58d4c9d6f19c4b
parent9beae261baab3f5a3001933cbc4d321538bef344
net: stmmac: reduce indentation by adding a continue

As suggested by Joe Perches, replacing the "if phydev" logic permit to
reduce indentation in the for loop.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reviewed-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c