]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: remove redundant assignment in netvsc_recv_callback()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 3 Jun 2016 15:50:58 +0000 (17:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jun 2016 03:16:35 +0000 (23:16 -0400)
commitba8413d8a971fd6f53938f7055962c9aa9106f03
tree805b17e1c6402c821c6912d382789d0e212ac3de
parent85367bc6e408094aedf9e8f7ad7e7c8d1755a30b
hv_netvsc: remove redundant assignment in netvsc_recv_callback()

net_device_ctx is assigned in the very beginning of the function and 'net'
pointer doesn't change.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c