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:
a92b7f8
)
MIPS: malta: Remove 'maybe_unused' attribute from ememsize{, _str}
author
Markos Chandras
<
[email protected]
>
Fri, 23 May 2014 12:31:32 +0000
(13:31 +0100)
committer
Ralf Baechle
<
[email protected]
>
Sun, 25 May 2014 12:29:05 +0000
(14:29 +0200)
First introduced in
e6ca4e5bf11466b5e9423a1e4ea51a8216c4b9b6
"MIPS: malta: malta-memory: Add support for the 'ememsize' variable"
but it is not needed since both variables are visible to the compiler.
Signed-off-by: Markos Chandras <
[email protected]
>
Cc: <
[email protected]
> # v3.15+
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/6985/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/mti-malta/malta-memory.c
patch
|
blob
|
history
diff --git
a/arch/mips/mti-malta/malta-memory.c
b/arch/mips/mti-malta/malta-memory.c
index 6d0f4ab3632d01fa4b8474f3e02e388d0a1f0f89..1ca34887d990d3e5c8d636fe73c096330af5a174 100644
(file)
--- a/
arch/mips/mti-malta/malta-memory.c
+++ b/
arch/mips/mti-malta/malta-memory.c
@@
-26,8
+26,8
@@
unsigned long physical_memsize = 0L;
fw_memblock_t * __init fw_getmdesc(int eva)
{
- char *memsize_str, *ememsize_str
__maybe_unused
= NULL, *ptr;
- unsigned long memsize, ememsize
__maybe_unused
= 0;
+ char *memsize_str, *ememsize_str = NULL, *ptr;
+ unsigned long memsize, ememsize = 0;
static char cmdline[COMMAND_LINE_SIZE] __initdata;
int tmp;