aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorGravatar stephen hemminger <stephen@networkplumber.org> 2017-01-24 13:06:10 -0800
committerGravatar David S. Miller <davem@davemloft.net> 2017-01-24 16:29:00 -0500
commit2289f0aa706e5160e078f73c32fcbfb56a3ff1e2 (patch)
tree5966048543b360bde2e9c34687d47ad0ddbc7ebe /drivers/net/hyperv/hyperv_net.h
parentnetvsc: don't pass void * to internal device_add (diff)
downloadlinux-2289f0aa706e5160e078f73c32fcbfb56a3ff1e2.tar.gz
linux-2289f0aa706e5160e078f73c32fcbfb56a3ff1e2.tar.bz2
linux-2289f0aa706e5160e078f73c32fcbfb56a3ff1e2.zip
netvsc: simplify rndis_filter_remove
All caller's already have pointer to netvsc_device so pass it. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 28cbd6a2ecf8..757205c9cb93 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -198,7 +198,8 @@ int rndis_filter_open(struct netvsc_device *nvdev);
int rndis_filter_close(struct netvsc_device *nvdev);
int rndis_filter_device_add(struct hv_device *dev,
struct netvsc_device_info *info);
-void rndis_filter_device_remove(struct hv_device *dev);
+void rndis_filter_device_remove(struct hv_device *dev,
+ struct netvsc_device *nvdev);
int rndis_filter_set_rss_param(struct rndis_device *rdev,
const u8 *key, int num_queue);
int rndis_filter_receive(struct net_device *ndev,