summaryrefslogtreecommitdiff
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-24 01:04:29 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-25 20:58:35 +0900
commit1ef26b7c948128dc9240939da06690bfd90f4607 (patch)
tree67716a7c5e03e4f84187dcceee9376a2feca3f3d /scripts/kallsyms.c
parentb1fbfcb4a20949df08dd995927cdc5ad220c128d (diff)
downloadlwn-1ef26b7c948128dc9240939da06690bfd90f4607.tar.gz
lwn-1ef26b7c948128dc9240939da06690bfd90f4607.zip
scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
This is not defined in the standard headers. #ifndef is unneeded. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r--scripts/kallsyms.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index ae6504d07fd6..918c2ba071b5 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -24,9 +24,7 @@
#include <ctype.h>
#include <limits.h>
-#ifndef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
-#endif
#define KSYM_NAME_LEN 128