diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-12-14 19:01:59 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 19:27:30 -0800 |
commit | b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (patch) | |
tree | a687c90208f4a31eaa6f4be4a29264742864f889 /Documentation/devices.txt | |
parent | 45870a441361d1c05a5f767c4ece2f6e30e0da9c (diff) | |
download | linux-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 'Documentation/devices.txt')
0 files changed, 0 insertions, 0 deletions