mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
MIPS: malta: Remove 'maybe_unused' attribute from ememsize{, _str}
First introduced in e6ca4e5bf1
"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 <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # v3.15+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6985/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
a92b7f87d6
commit
acd8bc1a70
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user