mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04:00
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:
committed by
Greg Kroah-Hartman
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);
|
||||
|
||||
Reference in New Issue
Block a user