diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-07-24 10:57:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-24 17:39:20 -0700 |
commit | 658677f17c5cbe84ec24fd7be69b4da1ed580596 (patch) | |
tree | 24810e45ca5dc8932dbdc7133cd1a34b2a56f961 | |
parent | 27f5aa92ccafbe1bbc695307e3dee41a0e924c28 (diff) | |
download | linux-658677f17c5cbe84ec24fd7be69b4da1ed580596.tar.gz linux-658677f17c5cbe84ec24fd7be69b4da1ed580596.tar.bz2 linux-658677f17c5cbe84ec24fd7be69b4da1ed580596.zip |
netvsc: remove no longer used max_num_rss queues
This value has been calculated in rndis_device_attach since 4.11.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 1 | ||||
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index afb65f753574..4e7ff348327e 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -147,7 +147,6 @@ struct hv_netvsc_packet { struct netvsc_device_info { unsigned char mac_adr[ETH_ALEN]; int ring_size; - u32 max_num_vrss_chns; u32 num_chn; }; diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index a94fd545a650..262486ce8e2a 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -753,7 +753,6 @@ static int netvsc_set_channels(struct net_device *net, memset(&device_info, 0, sizeof(device_info)); device_info.num_chn = count; device_info.ring_size = ring_size; - device_info.max_num_vrss_chns = count; nvdev = rndis_filter_device_add(dev, &device_info); if (!IS_ERR(nvdev)) { @@ -762,7 +761,6 @@ static int netvsc_set_channels(struct net_device *net, ret = PTR_ERR(nvdev); } else { device_info.num_chn = orig; - device_info.max_num_vrss_chns = count; rndis_filter_device_add(dev, &device_info); } |