staging: unisys: visorbus: Remove duplicate invocation of init_rcv_bufs()
authorDavid Binder <david.binder@unisys.com>
Mon, 9 Jan 2017 18:02:24 +0000 (13:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:29:46 +0000 (17:29 +0100)
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>
drivers/staging/unisys/visornic/visornic_main.c

index c1f674f..6c49288 100644 (file)
@@ -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();