]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: simplify function args in receive status path
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 13 Dec 2017 00:48:37 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:57:38 +0000 (15:57 -0500)
commitd44e6929c1b3c282bbda2ab55ed728ffa2a69e5c
treedad3ccb989e1a023cdc69aefe6acb366ba13dbaa
parent34976475cacf11a35a042b29da58aa52d353b865
hv_netvsc: simplify function args in receive status path

The caller (netvsc_receive) already has the net device pointer,
and should just pass that to functions rather than the hyperv device.
This eliminates several impossible error paths in the process.

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