]> 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)
commit6d17c82807e062d1e0545c38f10538bf84474753
treedad3ccb989e1a023cdc69aefe6acb366ba13dbaa
parenta9783d813ca5f9d351e754a22a9ff5fb8cf9d365
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