diff mbox series

io_uring/kbuf: remove dead define

Message ID b64fea1e-b499-4667-9f71-501b779b03c5@kernel.dk (mailing list archive)
State New
Headers show
Series io_uring/kbuf: remove dead define | expand

Commit Message

Jens Axboe March 29, 2024, 11:24 p.m. UTC
We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
---
 io_uring/kbuf.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
index 6fdb45603a1c..01e29d0bfc4a 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)