hv_netvsc: remove open_cnt reference count
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 13 Dec 2017 00:48:39 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:57:39 +0000 (15:57 -0500)
commit0da6edbd3a379433814c738e932474057537107c
tree490209e29e99c77cdad63610df53c9fe932a656a
parent345ac08990b8365294f9756da806f357c239d758
hv_netvsc: remove open_cnt reference count

There is only ever a single instance of network device object
referencing the internal rndis object. Therefore the open_cnt atomic
is not necessary.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c