From: Matthew Wilcox Date: Sat, 4 Nov 2017 03:06:32 +0000 (-0400) Subject: radix tree test suite: Remove ARRAY_SIZE X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=051803c0d01f4d8a197ecc08bfeffdff00d86c62;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/tools/testing/radix-tree/linux/kernel.h b/tools/testing/radix-tree/linux/kernel.h index c3bc3f364f68..426f32f28547 100644 --- a/tools/testing/radix-tree/linux/kernel.h +++ b/tools/testing/radix-tree/linux/kernel.h @@ -17,6 +17,4 @@ #define pr_debug printk #define pr_cont printk -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) - #endif /* _KERNEL_H */