hv_netvsc: remove vmbus_are_subchannels_present() in rndis_filter_device_add()
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 26 Mar 2015 23:20:58 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 20:15:10 +0000 (13:15 -0700)
commit5ce58c2f13eaa8ca6d7e1041175433bd8cc55756
tree074a673ff69dd210bd80e206be4f47ef74761459
parentcb6e0b3690f48dffb9397c3e868164b689420441
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>
drivers/net/hyperv/rndis_filter.c