summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_utils_transport.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-12-14 19:01:59 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 19:27:30 -0800
commitb5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (patch)
treea687c90208f4a31eaa6f4be4a29264742864f889 /drivers/hv/hv_utils_transport.c
parent45870a441361d1c05a5f767c4ece2f6e30e0da9c (diff)
downloadlinux-b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1.tar.bz2
Drivers: hv: ring_buffer: remove code duplication from hv_ringbuffer_peek/read()
hv_ringbuffer_peek() does the same as hv_ringbuffer_read() without advancing the read index. The only functional change this patch brings is moving hv_need_to_signal_on_read() call under the ring_lock but this function is just a couple of comparisons. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_utils_transport.c')
0 files changed, 0 insertions, 0 deletions