diff options
author | Andrey Shvetsov <andrey.shvetsov@k2l.de> | 2016-10-04 17:10:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:25:12 +0200 |
commit | 812b55e531541d210e66962200f3a2c1429d3413 (patch) | |
tree | baf1ed919db9885131cca2686138e35e4809e16e /drivers/staging/most | |
parent | 81ad5207862db73e64f6439efa47d259ff4a60a7 (diff) | |
download | linux-812b55e531541d210e66962200f3a2c1429d3413.tar.bz2 |
staging: most: aim-network: avoid calling netdev_info()
This patch removes the needless call of function netdev_info() from
function most_nd_setup().
Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/aim-network/networking.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/aim-network/networking.c b/drivers/staging/most/aim-network/networking.c index 9e1b19b9f64b..fe0d516cf506 100644 --- a/drivers/staging/most/aim-network/networking.c +++ b/drivers/staging/most/aim-network/networking.c @@ -211,7 +211,7 @@ static int most_nd_open(struct net_device *dev) nd->iface->request_netinfo(nd->iface, nd->tx.ch_id); wait_res = wait_for_completion_interruptible_timeout( - &nd->mac_compl, msecs_to_jiffies(5000)); + &nd->mac_compl, msecs_to_jiffies(5000)); if (!wait_res) { netdev_err(dev, "mac timeout\n"); return -EBUSY; @@ -288,7 +288,6 @@ static const struct net_device_ops most_nd_ops = { static void most_nd_setup(struct net_device *dev) { - netdev_info(dev, "setup net device\n"); ether_setup(dev); dev->netdev_ops = &most_nd_ops; } |