diff options
author | Catherine Sullivan <csully@google.com> | 2021-12-16 01:46:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-16 11:41:54 +0100 |
commit | 5fd07df47a7fe7962d628bb117abbadbbb15de94 (patch) | |
tree | 2cf11284908e0e11a398becfe4d60c88d55a373c /drivers/net/ethernet/google | |
parent | gve: Update gve_free_queue_page_list signature (diff) | |
download | linux-5fd07df47a7fe7962d628bb117abbadbbb15de94.tar.xz linux-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.c | 2 |
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); } |