Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/379d4ef52b76
branches:  trunk
changeset: 790577:379d4ef52b76
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 17 21:08:16 2013 +0000

description:
remove unused variable

diffstat:

 sys/compat/linux/common/linux_futex.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r bb485496545c -r 379d4ef52b76 sys/compat/linux/common/linux_futex.c
--- a/sys/compat/linux/common/linux_futex.c     Thu Oct 17 21:07:37 2013 +0000
+++ b/sys/compat/linux/common/linux_futex.c     Thu Oct 17 21:08:16 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_futex.c,v 1.31 2013/07/18 17:31:02 njoly Exp $ */
+/*     $NetBSD: linux_futex.c,v 1.32 2013/10/17 21:08:16 christos Exp $ */
 
 /*-
  * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.31 2013/07/18 17:31:02 njoly Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.32 2013/10/17 21:08:16 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/time.h>
@@ -741,10 +741,8 @@
 fetch_robust_entry(struct lwp *l, struct linux_robust_list **entry,
     struct linux_robust_list **head, int *pi)
 {
-       struct linux_emuldata *led;
        unsigned long uentry;
 
-       led = l->l_emuldata;
 #ifdef __arch64__
        if (l->l_proc->p_flag & PK_32) {
                uint32_t u32;



Home | Main Index | Thread Index | Old Index