Drivers: hv: ring_buffer: remove stray smp_read_barrier_depends()
smp_read_barrier_depends() does nothing on almost all arcitectures including x86 and having it in the beginning of hv_get_ringbuffer_availbytes() does not provide any guarantees anyway. 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> (cherry picked from commit 45870a44) Signed-off-by:
Tim Gardner <tim.gardner@canonical.com>
Showing
Please register or sign in to comment