diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2017-09-01 14:30:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-01 20:39:12 -0700 |
commit | 715e2ec532f6bffc8ee1cb9282c9e6cbf8809591 (patch) | |
tree | 97ad338d6d993cc76d7facc60283700b29a8c5a8 /drivers/net/hyperv/rndis_filter.c | |
parent | 864150dfa31dceab6ec5ca4579a2d35ede985cb7 (diff) | |
download | linux-stable-715e2ec532f6bffc8ee1cb9282c9e6cbf8809591.tar.gz linux-stable-715e2ec532f6bffc8ee1cb9282c9e6cbf8809591.tar.bz2 linux-stable-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/rndis_filter.c')
-rw-r--r-- | drivers/net/hyperv/rndis_filter.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 36e9ee82ec6f..496fefa7c7c4 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c @@ -717,7 +717,7 @@ cleanup: } int rndis_filter_set_rss_param(struct rndis_device *rdev, - const u8 *rss_key, int num_queue) + const u8 *rss_key) { struct net_device *ndev = rdev->ndev; struct rndis_request *request; @@ -1258,8 +1258,7 @@ struct netvsc_device *rndis_filter_device_add(struct hv_device *dev, atomic_read(&net_device->open_chn) == net_device->num_chn); /* ignore failues from setting rss parameters, still have channels */ - rndis_filter_set_rss_param(rndis_device, netvsc_hash_key, - net_device->num_chn); + rndis_filter_set_rss_param(rndis_device, netvsc_hash_key); out: if (ret) { net_device->max_chn = 1; |