]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/rsrc: remove unused constants
authorCaleb Sander Mateos <csander@purestorage.com>
Wed, 19 Feb 2025 03:34:43 +0000 (20:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Feb 2025 15:06:29 +0000 (08:06 -0700)
commitfb3331f53e3cb1f1505f918f4f33bb0a3a231e4f
tree31133238353c6785fb61cfc7e9e2583b1281a3f0
parent1fc61eeefe10d9996d2b875214d89f0909d03417
io_uring/rsrc: remove unused constants

IO_NODE_ALLOC_CACHE_MAX has been unused since commit fbbb8e991d86
("io_uring/rsrc: get rid of io_rsrc_node allocation cache") removed the
rsrc_node_cache.

IO_RSRC_TAG_TABLE_SHIFT and IO_RSRC_TAG_TABLE_MASK have been unused
since commit 7029acd8a950 ("io_uring/rsrc: get rid of per-ring
io_rsrc_node list") removed the separate tag table for registered nodes.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20250219033444.2020136-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.h