projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c5332
)
[PATCH] ppc64: remove duplicate local variable in set_preferred_console
author
Olaf Hering
<olh@suse.de>
Sat, 29 Oct 2005 00:46:57 +0000
(17:46 -0700)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 05:23:08 +0000
(15:23 +1000)
remove duplicate local variable, saves 2 asm instructions.
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup-common.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/setup-common.c
b/arch/powerpc/kernel/setup-common.c
index aa743a50a20a122bd2d1a6c6a668d6da5c2cecdb..1292460fcde26cb70049c7da3f06c63085a1dd64 100644
(file)
--- a/
arch/powerpc/kernel/setup-common.c
+++ b/
arch/powerpc/kernel/setup-common.c
@@
-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;