hv_netvsc: pass struct netvsc_device to rndis_filter_{open, close}()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 3 Jun 2016 15:51:00 +0000 (17:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jun 2016 03:16:36 +0000 (23:16 -0400)
commit2f5fa6c869e8f8c340dd05a2817eecbcea382c35
tree1ff5175cdb0011d67f1abad449bfb7def2950907
parent2625466d6d92f056da970bee990c862c54188819
hv_netvsc: pass struct netvsc_device to rndis_filter_{open, close}()

Both rndis_filter_open()/rndis_filter_close() use struct hv_device to
reach to struct netvsc_device only and all callers have it already.
While on it, rename net_device to nvdev in rndis_filter_open() as
net_device is misleading.

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