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)
commit5529eaf6e79a61e0ca7ade257f31d2ababc7f6c9
treea619c818c8ea2b3f1a4c9b39281915c34771bac2
parentb71e328297a3a578c482fb4814e737a0ec185839
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