提交 ea652660 编写于 作者: O Olaf Hering 提交者: Paul Mackerras

[PATCH] ppc64: remove duplicate local variable in set_preferred_console

remove duplicate local variable, saves 2 asm instructions.
Signed-off-by: NOlaf Hering <olh@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 18c5332b
......@@ -361,7 +361,6 @@ static int __init set_preferred_console(void)
if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) {
/* Host Virtual Serial Interface */
int offset;
switch (reg[0]) {
case 0x30000000:
offset = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册