diff --git a/fs/io_uring.c b/fs/io_uring.c index 8e143aed73657c7d903185a69ff609ab7dd5f44c..ba3fb2d8ec27a7a88f31bf2d435b09b1a7b8a7d2 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1828,8 +1828,6 @@ static bool io_get_sqring(struct io_ring_ctx *ctx, struct sqe_submit *s) * though the application is the one updating it. */ head = ctx->cached_sq_head; - /* See comment at the top of this file */ - smp_rmb(); /* make sure SQ entry isn't read before tail */ if (head == smp_load_acquire(&ring->r.tail)) return false;