Small optimization for SPARC[64] get_scno

* syscall.c: Remove static unsigned long trap veriable.
(get_scno): Use local trap variable.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/syscall.c b/syscall.c
index 3efb024..c31233c 100644
--- a/syscall.c
+++ b/syscall.c
@@ -681,7 +681,6 @@
 static struct pt_regs regs;
 #elif defined(SPARC) || defined(SPARC64)
 struct pt_regs regs; /* not static */
-static unsigned long trap;
 #elif defined(LINUX_MIPSN32)
 static long long a3;
 static long long r2;
@@ -1204,6 +1203,7 @@
 #elif defined(SPARC) || defined(SPARC64)
 	/* Disassemble the syscall trap. */
 	/* Retrieve the syscall trap instruction. */
+	unsigned long trap;
 	errno = 0;
 # if defined(SPARC64)
 	trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)regs.tpc, 0);