summaryrefslogtreecommitdiffstats
path: root/io_uring/kbuf.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-30 00:22:27 +0100
committerJens Axboe <axboe@kernel.dk>2024-04-15 16:10:26 +0200
commit285207f67c9bcad1d9168993f175d6d88ce310f1 (patch)
tree0c5ed9009c69d7e31cb68cb4a0fc627e5a427f56 /io_uring/kbuf.c
parentio_uring: fix warnings on shadow variables (diff)
downloadlinux-285207f67c9bcad1d9168993f175d6d88ce310f1.tar.xz
linux-285207f67c9bcad1d9168993f175d6d88ce310f1.zip
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)