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:
2ee7c92
)
kernel/range: remove unused definition of ARRAY_SIZE()
author
Geert Uytterhoeven
<
[email protected]
>
Tue, 10 Aug 2010 00:20:31 +0000
(17:20 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 10 Aug 2010 03:45:06 +0000
(20:45 -0700)
Remove duplicate definition of ARRAY_SIZE(), which was never used anyway.
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Cc: Yinghai Lu <
[email protected]
>
Cc: "H. Peter Anvin" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/range.c
patch
|
blob
|
history
diff --git
a/kernel/range.c
b/kernel/range.c
index 74e2e6114927e7efa1c88bc098c74934f765f8de..471b66acabb57e770dd552bfc5a9edae356acfd7 100644
(file)
--- a/
kernel/range.c
+++ b/
kernel/range.c
@@
-7,10
+7,6
@@
#include <linux/range.h>
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-#endif
-
int add_range(struct range *range, int az, int nr_range, u64 start, u64 end)
{
if (start >= end)