summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-30 02:22:27 +0300
committerJens Axboe <axboe@kernel.dk>2024-04-15 17:10:26 +0300
commit285207f67c9bcad1d9168993f175d6d88ce310f1 (patch)
tree0c5ed9009c69d7e31cb68cb4a0fc627e5a427f56 /io_uring
parent1da2f311ba53a1ee106a637cf17aba05d2acc1ff (diff)
downloadlinux-285207f67c9bcad1d9168993f175d6d88ce310f1.tar.xz
io_uring/kbuf: remove dead define
We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/kbuf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
index 896770e93980..3846a055df44 100644
--- a/io_uring/kbuf.c
+++ b/io_uring/kbuf.c
@@ -17,8 +17,6 @@
#include "kbuf.h"
#include "memmap.h"
-#define IO_BUFFER_LIST_BUF_PER_PAGE (PAGE_SIZE / sizeof(struct io_uring_buf))
-
/* BIDs are addressed by a 16-bit field in a CQE */
#define MAX_BIDS_PER_BGID (1 << 16)