hv_netvsc: remove locking in netvsc_send()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 2 Dec 2015 00:43:12 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 04:43:24 +0000 (23:43 -0500)
commit2a04ae8acb144996eba6e3d69ab2a7156c775416
tree15e4e14be435e272736d2a06f3b891e0e808f108
parent8b9fbe1ac390689f01153d6af8485caec5423ccc
hv_netvsc: remove locking in netvsc_send()

Packet scheduler guarantees there won't be multiple senders for the same
queue and as we use q_idx for multi_send_data the spinlock is redundant.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c