gve: remove memory barrier around seqno
No longer needed after we introduced the barrier in gve_napi_poll. Signed-off-by: Catherine Sullivan <csully@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
13e7939c95
commit
5fd07df47a
|
@ -639,8 +639,6 @@ bool gve_rx_work_pending(struct gve_rx_ring *rx)
|
|||
desc = rx->desc.desc_ring + next_idx;
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue