summaryrefslogtreecommitdiff
path: root/io_uring/kbuf.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-29 17:22:27 -0600
committerJens Axboe <axboe@kernel.dk>2024-04-15 08:10:26 -0600
commit285207f67c9bcad1d9168993f175d6d88ce310f1 (patch)
tree0c5ed9009c69d7e31cb68cb4a0fc627e5a427f56 /io_uring/kbuf.c
parent1da2f311ba53a1ee106a637cf17aba05d2acc1ff (diff)
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/kbuf.c')
-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)