aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2015-03-26 19:20:58 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-29 16:15:10 -0400
commit5ce58c2f13eaa8ca6d7e1041175433bd8cc55756 (patch)
tree074a673ff69dd210bd80e206be4f47ef74761459 /drivers
parentcb6e0b3690f48dffb9397c3e868164b689420441 (diff)
hv_netvsc: remove vmbus_are_subchannels_present() in rndis_filter_device_add()
The vmbus_are_subchannels_present() also involves opening the channels, which may be too early at this point. Checking for subchannels is not necessary here. So this patch removes it. Subchannels will be opened when offer messages arrive. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/hyperv/rndis_filter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
index a2b185a58075..fdfab1feccfc 100644
--- a/drivers/net/hyperv/rndis_filter.c
+++ b/drivers/net/hyperv/rndis_filter.c
@@ -1141,8 +1141,6 @@ int rndis_filter_device_add(struct hv_device *dev,
1141 net_device->num_chn = 1 + 1141 net_device->num_chn = 1 +
1142 init_packet->msg.v5_msg.subchn_comp.num_subchannels; 1142 init_packet->msg.v5_msg.subchn_comp.num_subchannels;
1143 1143
1144 vmbus_are_subchannels_present(dev->channel);
1145
1146 ret = rndis_filter_set_rss_param(rndis_device, net_device->num_chn); 1144 ret = rndis_filter_set_rss_param(rndis_device, net_device->num_chn);
1147 1145
1148out: 1146out: