diff options
author | 2015-04-04 22:51:04 +0300 | |
---|---|---|
committer | 2015-04-30 16:59:23 +0200 | |
commit | be76400c31194d759b621bc2b70f0c61882fbaec (patch) | |
tree | 3aff62b4ca062960727054dacb43d4be24cc12d6 /drivers/staging/octeon/ethernet-xaui.c | |
parent | staging: octeon-ethernet: consolidate ndo_stop functions (diff) | |
download | linux-dev-be76400c31194d759b621bc2b70f0c61882fbaec.tar.xz linux-dev-be76400c31194d759b621bc2b70f0c61882fbaec.zip |
staging: octeon-ethernet: move ndo_stop to common init
All init functions call ndo_stop if it's defined, so move it
to common function.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-xaui.c')
-rw-r--r-- | drivers/staging/octeon/ethernet-xaui.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-xaui.c b/drivers/staging/octeon/ethernet-xaui.c index e8e51ed779d5..5782c38a9c9c 100644 --- a/drivers/staging/octeon/ethernet-xaui.c +++ b/drivers/staging/octeon/ethernet-xaui.c @@ -87,7 +87,6 @@ int cvm_oct_xaui_init(struct net_device *dev) struct octeon_ethernet *priv = netdev_priv(dev); cvm_oct_common_init(dev); - dev->netdev_ops->ndo_stop(dev); if (!octeon_is_simulation() && priv->phydev == NULL) priv->poll = cvm_oct_xaui_poll; |