]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: remove unnecessary lock on shutdown
authorstephen hemminger <stephen@networkplumber.org>
Wed, 22 Mar 2017 21:51:03 +0000 (14:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:38:56 +0000 (19:38 -0700)
commit54e6262533eaf0e0c7c9f75c57ab34a1fdbf41f2
tree17a57e2ed6bec37b1502ef3e82a5711ecdc58b8e
parent81b5c631c24f1a940aacee46ab2eea8fa5b632dc
netvsc: remove unnecessary lock on shutdown

The channel inbound lock was not being used at all by the netvsc
device, but the spin_lock was helpful by providing necessary
barrier before waiting.

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