From: David Binder Date: Mon, 9 Jan 2017 18:02:24 +0000 (-0500) Subject: staging: unisys: visorbus: Remove duplicate invocation of init_rcv_bufs() X-Git-Tag: v5.15~11841^2~420 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b3d7b6d84938be9b4c4b1656ebd424e5645d1ca;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: David Kershner Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visornic/visornic_main.c b/drivers/staging/unisys/visornic/visornic_main.c index c1f674f..6c49288 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();