summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-11-04 04:06:32 +0100
committerMatthew Wilcox <mawilcox@microsoft.com>2018-02-06 21:07:20 +0100
commit051803c0d01f4d8a197ecc08bfeffdff00d86c62 (patch)
tree8403ccf2f7579ac98690e1d64bc3f19e5e901b33 /tools/testing
parentMerge tag 'xfs-4.16-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff)
downloadlinux-051803c0d01f4d8a197ecc08bfeffdff00d86c62.tar.xz
linux-051803c0d01f4d8a197ecc08bfeffdff00d86c62.zip
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>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/radix-tree/linux/kernel.h2
1 files changed, 0 insertions, 2 deletions
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 */