commit | 79cf1bae384cfc51b0b0773b3591794302af6ebd | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Tue Dec 12 16:48:37 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 13 15:57:38 2017 -0500 |
tree | dad3ccb989e1a023cdc69aefe6acb366ba13dbaa | |
parent | f61a9d62b27e21e23eafdc058f1c300a2a31b204 [diff] |
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>