|
@@ -141,8 +141,6 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi,
|
|
{
|
|
{
|
|
u32 read_loc, write_loc, dsize;
|
|
u32 read_loc, write_loc, dsize;
|
|
|
|
|
|
- smp_read_barrier_depends();
|
|
|
|
-
|
|
|
|
/* Capture the read/write indices before they changed */
|
|
/* Capture the read/write indices before they changed */
|
|
read_loc = rbi->ring_buffer->read_index;
|
|
read_loc = rbi->ring_buffer->read_index;
|
|
write_loc = rbi->ring_buffer->write_index;
|
|
write_loc = rbi->ring_buffer->write_index;
|