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)
commit79cf1bae384cfc51b0b0773b3591794302af6ebd
treedad3ccb989e1a023cdc69aefe6acb366ba13dbaa
parentf61a9d62b27e21e23eafdc058f1c300a2a31b204
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