Commit 5fd07df4 authored by Catherine Sullivan's avatar Catherine Sullivan Committed by David S. Miller

gve: remove memory barrier around seqno

No longer needed after we introduced the barrier in gve_napi_poll.
Signed-off-by: default avatarCatherine Sullivan <csully@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13e7939c
...@@ -639,8 +639,6 @@ bool gve_rx_work_pending(struct gve_rx_ring *rx) ...@@ -639,8 +639,6 @@ bool gve_rx_work_pending(struct gve_rx_ring *rx)
desc = rx->desc.desc_ring + next_idx; desc = rx->desc.desc_ring + next_idx;
flags_seq = desc->flags_seq; flags_seq = desc->flags_seq;
/* Make sure we have synchronized the seq no with the device */
smp_rmb();
return (GVE_SEQNO(flags_seq) == rx->desc.seqno); return (GVE_SEQNO(flags_seq) == rx->desc.seqno);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment