diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-17 20:43:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-20 00:42:15 (GMT) |
commit | c2e91542695270452ea7b5d3266ad0e9b5dc7bdb (patch) | |
tree | 8c26a9426b788a54fc9f288a756f84546a91306f | |
parent | 05fd349b1750d456423538e69c3c1d4d8a10f1c8 (diff) | |
download | linux-c2e91542695270452ea7b5d3266ad0e9b5dc7bdb.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/octeon/ethernet-sgmii.c b/drivers/staging/octeon/ethernet-sgmii.c index e187844..21a7a17 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) if (priv->phydev) { int r = phy_read_status(priv->phydev); + if (r == 0 && priv->phydev->link == 0) netif_carrier_off(dev); cvm_oct_adjust_link(dev); |