io_uring/kbuf: remove dead define
authorJens Axboe <axboe@kernel.dk>
Fri, 29 Mar 2024 23:22:27 +0000 (17:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:26 +0000 (08:10 -0600)
We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c

index 896770e93980bcd8a2231ea957e026da0973c508..3846a055df44db911564a994eadf891c76777409 100644 (file)
@@ -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)