public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH] io_uring/kbuf: remove dead define
@ 2024-03-29 23:24 Jens Axboe
  0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2024-03-29 23:24 UTC (permalink / raw)
  To: io-uring

We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it.

Signed-off-by: Jens Axboe <[email protected]>
---
 io_uring/kbuf.c | 2 --
 1 file changed, 2 deletions(-)

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)
 
-- 
2.43.0

-- 
Jens Axboe


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-29 23:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29 23:24 [PATCH] io_uring/kbuf: remove dead define Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox