projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e237f98
)
radix tree test suite: Remove ARRAY_SIZE
author
Matthew Wilcox
<mawilcox@microsoft.com>
Sat, 4 Nov 2017 03:06:32 +0000
(23:06 -0400)
committer
Matthew 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
patch
|
blob
|
history
diff --git
a/tools/testing/radix-tree/linux/kernel.h
b/tools/testing/radix-tree/linux/kernel.h
index c3bc3f364f6827a97cbcc28bf761eaf316b9a240..426f32f2854706d4ec570d92efb8988fae275200 100644
(file)
--- 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 */