summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2017-01-09 13:02:24 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-10 17:29:46 +0100
commit4b3d7b6d84938be9b4c4b1656ebd424e5645d1ca (patch)
treea18311c68805b7d66b42162db5f0598cb9ded0a8 /drivers/staging/unisys
parent046f93dc727ab390bf951e52236debd710e58a7d (diff)
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: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visornic/visornic_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visornic/visornic_main.c b/drivers/staging/unisys/visornic/visornic_main.c
index c1f674f5268c..6c49288e52fa 100644
--- a/drivers/staging/unisys/visornic/visornic_main.c
+++ b/drivers/staging/unisys/visornic/visornic_main.c
@@ -2017,8 +2017,6 @@ static int visornic_resume(struct visor_device *dev,
*/
mod_timer(&devdata->irq_poll_timer, msecs_to_jiffies(2));
- init_rcv_bufs(netdev, devdata);
-
rtnl_lock();
dev_open(netdev);
rtnl_unlock();