]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46074370a9c925b23176b2727a46294b1f7fb367
tree54dd622abbf4cbd8789144e9b02b2aa564ebfafd
parentdf1d2e5bbea1b9df7a189b8b50dbe312c16b2691
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