[PATCH] ppc64: drop unused pid

Mike Frysinger vapier at gentoo.org
Thu Mar 15 00:16:13 UTC 2012


* syscall.c (get_scno): Delete unused pid variable.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 syscall.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/syscall.c b/syscall.c
index 191127b..d1c8992 100644
--- a/syscall.c
+++ b/syscall.c
@@ -811,7 +811,6 @@ get_scno(struct tcb *tcp)
 	 */
 	int currpers;
 	long val;
-	int pid = tcp->pid;
 
 	/* Check for 64/32 bit mode. */
 	if (upeek(tcp, sizeof(unsigned long)*PT_MSR, &val) < 0)
-- 
1.7.8.5





More information about the Strace-devel mailing list