Skip to content

Commit 5fd07df

Browse files
catSully012davem330
authored andcommitted
gve: remove memory barrier around seqno
No longer needed after we introduced the barrier in gve_napi_poll. Signed-off-by: Catherine Sullivan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 13e7939 commit 5fd07df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ethernet/google/gve/gve_rx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,6 @@ bool gve_rx_work_pending(struct gve_rx_ring *rx)
639639
desc = rx->desc.desc_ring + next_idx;
640640

641641
flags_seq = desc->flags_seq;
642-
/* Make sure we have synchronized the seq no with the device */
643-
smp_rmb();
644642

645643
return (GVE_SEQNO(flags_seq) == rx->desc.seqno);
646644
}

0 commit comments

Comments
 (0)