summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/google
diff options
context:
space:
mode:
authorCatherine Sullivan <csully@google.com>2021-12-15 16:46:48 -0800
committerDavid S. Miller <davem@davemloft.net>2021-12-16 10:41:54 +0000
commit5fd07df47a7fe7962d628bb117abbadbbb15de94 (patch)
tree2cf11284908e0e11a398becfe4d60c88d55a373c /drivers/net/ethernet/google
parent13e7939c954a280847107c9f081835471f4ea1fe (diff)
downloadlwn-5fd07df47a7fe7962d628bb117abbadbbb15de94.tar.gz
lwn-5fd07df47a7fe7962d628bb117abbadbbb15de94.zip
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>
Diffstat (limited to 'drivers/net/ethernet/google')
-rw-r--r--drivers/net/ethernet/google/gve/gve_rx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/google/gve/gve_rx.c b/drivers/net/ethernet/google/gve/gve_rx.c
index 3d04b5aff331..9ddcc497f48e 100644
--- a/drivers/net/ethernet/google/gve/gve_rx.c
+++ b/drivers/net/ethernet/google/gve/gve_rx.c
@@ -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);
}