aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAybuke Ozdemir <aybuke.147@gmail.com>2014-09-17 16:43:15 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 20:42:15 -0400
commitc2e91542695270452ea7b5d3266ad0e9b5dc7bdb (patch)
tree8c26a9426b788a54fc9f288a756f84546a91306f
parent05fd349b1750d456423538e69c3c1d4d8a10f1c8 (diff)
Staging: octeon: Missing a blank line after declarations
Fix checkpatch.pl issues with missing a blank line after declarations in ethernet-sgmii.c Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/octeon/ethernet-sgmii.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/octeon/ethernet-sgmii.c b/drivers/staging/octeon/ethernet-sgmii.c
index e1878449e683..21a7a17acb79 100644
--- a/drivers/staging/octeon/ethernet-sgmii.c
+++ b/drivers/staging/octeon/ethernet-sgmii.c
@@ -99,6 +99,7 @@ int cvm_oct_sgmii_open(struct net_device *dev)
99 99
100 if (priv->phydev) { 100 if (priv->phydev) {
101 int r = phy_read_status(priv->phydev); 101 int r = phy_read_status(priv->phydev);
102
102 if (r == 0 && priv->phydev->link == 0) 103 if (r == 0 && priv->phydev->link == 0)
103 netif_carrier_off(dev); 104 netif_carrier_off(dev);
104 cvm_oct_adjust_link(dev); 105 cvm_oct_adjust_link(dev);