netvsc: pass net_device to netvsc_init_buf and netvsc_connect_vsp
authorstephen hemminger <stephen@networkplumber.org>
Thu, 8 Jun 2017 23:21:22 +0000 (16:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:15:05 +0000 (12:15 -0400)
commit9579083732ce44313545d02de4b2ca168d0a9526
tree54dd622abbf4cbd8789144e9b02b2aa564ebfafd
parent2d694d2abe83c552dca156982ff378beb3ef0f1e
netvsc: pass net_device to netvsc_init_buf and netvsc_connect_vsp

Don't need to find netvsc_device structure, caller already had it.
Also rearrange declarations.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c