Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ida: remove abandoned macros

3 IDA_ started macros aren't used from commit f32f004cddf8 ("ida: Convert
to XArray"). so better to remove them.

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

authored by

Alex Shi and committed by
Matthew Wilcox (Oracle)
3a00e7c4 24a448b1

-8
-8
lib/radix-tree.c
··· 56 56 #define IDR_PRELOAD_SIZE (IDR_MAX_PATH * 2 - 1) 57 57 58 58 /* 59 - * The IDA is even shorter since it uses a bitmap at the last level. 60 - */ 61 - #define IDA_INDEX_BITS (8 * sizeof(int) - 1 - ilog2(IDA_BITMAP_BITS)) 62 - #define IDA_MAX_PATH (DIV_ROUND_UP(IDA_INDEX_BITS, \ 63 - RADIX_TREE_MAP_SHIFT)) 64 - #define IDA_PRELOAD_SIZE (IDA_MAX_PATH * 2 - 1) 65 - 66 - /* 67 59 * Per-cpu pool of preloaded nodes 68 60 */ 69 61 struct radix_tree_preload {