Commit 4b3d7b6d authored by David Binder's avatar David Binder Committed by Greg Kroah-Hartman

staging: unisys: visorbus: Remove duplicate invocation of init_rcv_bufs()

Removes the invocation to init_rcv_bufs() in visornic_resume() because that
function is already called in visornic_enable_with_timeout().
Signed-off-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 046f93dc
...@@ -2017,8 +2017,6 @@ static int visornic_resume(struct visor_device *dev, ...@@ -2017,8 +2017,6 @@ static int visornic_resume(struct visor_device *dev,
*/ */
mod_timer(&devdata->irq_poll_timer, msecs_to_jiffies(2)); mod_timer(&devdata->irq_poll_timer, msecs_to_jiffies(2));
init_rcv_bufs(netdev, devdata);
rtnl_lock(); rtnl_lock();
dev_open(netdev); dev_open(netdev);
rtnl_unlock(); rtnl_unlock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment