Commit 658677f1 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

netvsc: remove no longer used max_num_rss queues

This value has been calculated in rndis_device_attach since 4.11.
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27f5aa92
...@@ -147,7 +147,6 @@ struct hv_netvsc_packet { ...@@ -147,7 +147,6 @@ struct hv_netvsc_packet {
struct netvsc_device_info { struct netvsc_device_info {
unsigned char mac_adr[ETH_ALEN]; unsigned char mac_adr[ETH_ALEN];
int ring_size; int ring_size;
u32 max_num_vrss_chns;
u32 num_chn; u32 num_chn;
}; };
......
...@@ -753,7 +753,6 @@ static int netvsc_set_channels(struct net_device *net, ...@@ -753,7 +753,6 @@ static int netvsc_set_channels(struct net_device *net,
memset(&device_info, 0, sizeof(device_info)); memset(&device_info, 0, sizeof(device_info));
device_info.num_chn = count; device_info.num_chn = count;
device_info.ring_size = ring_size; device_info.ring_size = ring_size;
device_info.max_num_vrss_chns = count;
nvdev = rndis_filter_device_add(dev, &device_info); nvdev = rndis_filter_device_add(dev, &device_info);
if (!IS_ERR(nvdev)) { if (!IS_ERR(nvdev)) {
...@@ -762,7 +761,6 @@ static int netvsc_set_channels(struct net_device *net, ...@@ -762,7 +761,6 @@ static int netvsc_set_channels(struct net_device *net,
ret = PTR_ERR(nvdev); ret = PTR_ERR(nvdev);
} else { } else {
device_info.num_chn = orig; device_info.num_chn = orig;
device_info.max_num_vrss_chns = count;
rndis_filter_device_add(dev, &device_info); rndis_filter_device_add(dev, &device_info);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment