Skip to contentSkip to conversation

io_uring/kbuf: remove dead define

PATCH New Jens Axboe 1 participant 1 message Mar 29, 2024 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

PATCH 1/1 io_uring/kbuf: remove dead define

We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it.

---
 io_uring/kbuf.c | 2 --
 1 file changed, 2 deletions(-)
io_uring/kbuf.c +0 -2
index 6fdb45603a1c..01e29d0bfc4a 100644
@@ -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)
 
Signature · 4 lines
2.43.0

-- 
Jens Axboe