aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-09 13:04:18 +0100
committerJens Axboe <axboe@kernel.dk>2021-08-23 13:08:06 -0600
commitbbbca0948989aa1a8a75b99bcdece677ad06dfe6 (patch)
treed05643821747bc2be9effca9251fb160957c8df5
parentio_uring: improve ctx hang handling (diff)
downloadwireguard-linux-bbbca0948989aa1a8a75b99bcdece677ad06dfe6.tar.xz
wireguard-linux-bbbca0948989aa1a8a75b99bcdece677ad06dfe6.zip
io_uring: kill unused IO_IOPOLL_BATCH
IO_IOPOLL_BATCH is not used, delete it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b2bdf19dbee2c9fc8865bbab9412135a14e24a64.1628471125.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--fs/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index af9472e3f17b..8cdcd645f3d8 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -295,7 +295,6 @@ struct io_sq_data {
struct completion exited;
};
-#define IO_IOPOLL_BATCH 8
#define IO_COMPL_BATCH 32
#define IO_REQ_CACHE_SIZE 32
#define IO_REQ_ALLOC_BATCH 8