aboutsummaryrefslogtreecommitdiff
path: root/tools/include/linux/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/linux/hashtable.h')
-rw-r--r--tools/include/linux/hashtable.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/include/linux/hashtable.h b/tools/include/linux/hashtable.h
index c65cc0aa2659..251eabf2a05e 100644
--- a/tools/include/linux/hashtable.h
+++ b/tools/include/linux/hashtable.h
@@ -13,10 +13,6 @@
#include <linux/hash.h>
#include <linux/log2.h>
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-#endif
-
#define DEFINE_HASHTABLE(name, bits) \
struct hlist_head name[1 << (bits)] = \
{ [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT }