浏览代码

MIPS: malta: Remove 'maybe_unused' attribute from ememsize{, _str}

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 <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>
Markos Chandras 11 年之前
父节点
当前提交
acd8bc1a70
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/mips/mti-malta/malta-memory.c

+ 2 - 2
arch/mips/mti-malta/malta-memory.c

@@ -26,8 +26,8 @@ unsigned long physical_memsize = 0L;
 
 
 fw_memblock_t * __init fw_getmdesc(int eva)
 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;
 	static char cmdline[COMMAND_LINE_SIZE] __initdata;
 	int tmp;
 	int tmp;