radix tree test suite: Remove ARRAY_SIZE
authorMatthew Wilcox <mawilcox@microsoft.com>
Sat, 4 Nov 2017 03:06:32 +0000 (23:06 -0400)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 6 Feb 2018 20:07:20 +0000 (15:07 -0500)
This is now defined in tools/include/linux/kernel.h, so our
definition generates a warning.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
tools/testing/radix-tree/linux/kernel.h

index c3bc3f3..426f32f 100644 (file)
@@ -17,6 +17,4 @@
 #define pr_debug printk
 #define pr_cont printk
 
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-
 #endif /* _KERNEL_H */