sparc32: remove unused variable in head_32.S
authorSam Ravnborg <sam@ravnborg.org>
Tue, 29 May 2012 08:14:13 +0000 (08:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2012 19:47:37 +0000 (12:47 -0700)
It was assigned, but never referenced later.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/head_32.S

index 5364a05..afeb1d7 100644 (file)
  * 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.
                 */