Skip to contentSkip to conversation

sparc32: remove unused variable in head_32.S

PATCH In review Sam Ravnborg 1 participant 1 message May 29, 2012 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 sparc32: remove unused variable in head_32.S

It was assigned, but never referenced later.

---
 arch/sparc/kernel/head_32.S |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
arch/sparc/kernel/head_32.S +0 -8
index 5364a05..afeb1d7 100644
@@ -30,10 +30,6 @@
  * the cpu-type
  */
 	.align 4
-cputyp:
-        .word   1
-
-	.align 4
 	.globl cputypval
 cputypval:
 	.asciz "sun4m"
@@ -509,10 +505,6 @@ continue_boot:
 /* Aieee, now set PC and nPC, enable traps, give ourselves a stack and it's
  * show-time!
  */
-
-		sethi	%hi(cputyp), %o0
-		st	%g4, [%o0 + %lo(cputyp)]
-
 		/* Turn on Supervisor, EnableFloating, and all the PIL bits.
 		 * Also puts us in register window zero with traps off.
 		 */
Signature · 1 line
1.6.0.6