]> git.baikalelectronics.ru Git - kernel.git/commit
vmbus: remove conditional locking of vmbus_write
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 12 Feb 2017 06:02:22 +0000 (23:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 18:20:35 +0000 (10:20 -0800)
commit67ae161cc691687736cf249a4a36fb7ee9944017
treea619c818c8ea2b3f1a4c9b39281915c34771bac2
parent7f36e8d04ca56b3abac949d6b7950c0355ed0af4
vmbus: remove conditional locking of vmbus_write

All current usage of vmbus write uses the acquire_lock flag, therefore
having it be optional is unnecessary. This also fixes a sparse warning
since sparse doesn't like when a function has conditional locking.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/channel_mgmt.c
drivers/hv/hyperv_vmbus.h
drivers/hv/ring_buffer.c
include/linux/hyperv.h