mirror of https://gitee.com/openkylin/linux.git
Staging: octeon: Fix missing blank line warning.
Fixes "Missing a blank line after declarations" checkpatch.pl warning in ethernet-xaui.c Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
20f4f1a053
commit
e2ce06152a
|
@ -99,6 +99,7 @@ int cvm_oct_xaui_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);
|
||||
|
|
Loading…
Reference in New Issue