summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/netvsc_drv.c
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2017-09-01 23:30:04 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-02 05:39:12 +0200
commit715e2ec532f6bffc8ee1cb9282c9e6cbf8809591 (patch)
tree97ad338d6d993cc76d7facc60283700b29a8c5a8 /drivers/net/hyperv/netvsc_drv.c
parentnet: Add module reference to FIB notifiers (diff)
downloadlinux-715e2ec532f6bffc8ee1cb9282c9e6cbf8809591.tar.xz
linux-715e2ec532f6bffc8ee1cb9282c9e6cbf8809591.zip
hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param()
This patch removes the parameter, num_queue in rndis_filter_set_rss_param(), which is no longer in use. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
-rw-r--r--drivers/net/hyperv/netvsc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 3aee4b68ff13..992a48ec0206 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -1424,7 +1424,7 @@ static int netvsc_set_rxfh(struct net_device *dev, const u32 *indir,
key = rndis_dev->rss_key;
}
- return rndis_filter_set_rss_param(rndis_dev, key, ndev->num_chn);
+ return rndis_filter_set_rss_param(rndis_dev, key);
}
/* Hyper-V RNDIS protocol does not have ring in the HW sense.