diff options
Diffstat (limited to 'src/queue.c')
-rw-r--r-- | src/queue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/queue.c b/src/queue.c index 758fce8..40df72a 100644 --- a/src/queue.c +++ b/src/queue.c @@ -90,8 +90,7 @@ static int __io_uring_flush_sq(struct io_uring *ring) * Ensure that the kernel sees the SQE updates before it sees the tail * update. */ - if (submitted) - io_uring_smp_store_release(sq->ktail, ktail); + io_uring_smp_store_release(sq->ktail, ktail); return submitted; } |