summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-11-12 09:29:24 -0700
committerJens Axboe <axboe@kernel.dk>2021-11-12 09:29:24 -0700
commita0039bd99910b3a9e28c8c70a52cadbd69e7c0f0 (patch)
tree0afad88470076c357212eda6d0b2a53a2c7abee9
parent7b5681f82bf53b42afc7cb35482036559d5bad42 (diff)
parent02044504559ee4e428c8dd05afbb046c1d8ea53b (diff)
downloadliburing-a0039bd99910b3a9e28c8c70a52cadbd69e7c0f0.tar.gz
liburing-a0039bd99910b3a9e28c8c70a52cadbd69e7c0f0.tar.bz2
Merge branch 'unused-var-man' of https://github.com/yinan1048576/liburing
* 'unused-var-man' of https://github.com/yinan1048576/liburing: Remove unused variable in man page example
-rw-r--r--man/io_uring.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man/io_uring.7 b/man/io_uring.7
index dc76f42..0a47831 100644
--- a/man/io_uring.7
+++ b/man/io_uring.7
@@ -641,7 +641,7 @@ int app_setup_uring(void) {
int read_from_cq() {
struct io_uring_cqe *cqe;
- unsigned head, reaped = 0;
+ unsigned head;
/* Read barrier */
head = io_uring_smp_load_acquire(cring_head);