projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1fbfcb
)
scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Sat, 23 Nov 2019 16:04:29 +0000
(
01:04
+0900)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Mon, 25 Nov 2019 11:58:35 +0000
(20:58 +0900)
This is not defined in the standard headers. #ifndef is unneeded.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kallsyms.c
patch
|
blob
|
history
diff --git
a/scripts/kallsyms.c
b/scripts/kallsyms.c
index ae6504d07fd6123b6a9d984bec070ece4c59d613..918c2ba071b596274f97d8a55212015d19791892 100644
(file)
--- 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