Skip to content

Commit 051803c

Browse files
author
Matthew Wilcox
committed
radix tree test suite: Remove ARRAY_SIZE
This is now defined in tools/include/linux/kernel.h, so our definition generates a warning. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
1 parent e237f98 commit 051803c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎tools/testing/radix-tree/linux/kernel.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@
1717
#define pr_debug printk
1818
#define pr_cont printk
1919

20-
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
21-
2220
#endif /* _KERNEL_H */

0 commit comments

Comments
 (0)