From: Jens Axboe Date: Fri, 29 Mar 2024 23:22:27 +0000 (-0600) Subject: io_uring/kbuf: remove dead define X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=285207f67c9bcad1d9168993f175d6d88ce310f1;p=linux.git io_uring/kbuf: remove dead define We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it. Signed-off-by: Jens Axboe --- diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c index 896770e93980b..3846a055df44d 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)