summaryrefslogtreecommitdiff
path: root/io_uring/kbuf.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-04-24 07:30:56 -0600
committerJens Axboe <axboe@kernel.dk>2026-04-28 16:08:44 -0600
commit55ea968389172306341a6600a2acb759862d366a (patch)
treed8b75c292d10e33f6f0459a21c2d6a733dafe257 /io_uring/kbuf.h
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-next-55ea968389172306341a6600a2acb759862d366a.tar.gz
linux-next-55ea968389172306341a6600a2acb759862d366a.zip
io_uring/kbuf: kill dead struct io_buffer_list 'nr_entries' member
This is only ever assigned, never used. The only used part is the calculated mask, which is used for indexing. Kill 'nr_entries'. Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/kbuf.h')
-rw-r--r--io_uring/kbuf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/kbuf.h b/io_uring/kbuf.h
index bf15e26520d3..abf7052b556e 100644
--- a/io_uring/kbuf.h
+++ b/io_uring/kbuf.h
@@ -27,7 +27,6 @@ struct io_buffer_list {
__u16 bgid;
/* below is for ring provided buffers */
- __u16 nr_entries;
__u16 head;
__u16 mask;