Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Remove an unused variable



details:   https://anonhg.NetBSD.org/src/rev/d8a51c710534
branches:  trunk
changeset: 790017:d8a51c710534
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 09:25:22 2013 +0000

description:
Remove an unused variable

diffstat:

 sys/arch/sparc64/dev/pcons.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r e31844286168 -r d8a51c710534 sys/arch/sparc64/dev/pcons.c
--- a/sys/arch/sparc64/dev/pcons.c      Sun Sep 15 09:24:05 2013 +0000
+++ b/sys/arch/sparc64/dev/pcons.c      Sun Sep 15 09:25:22 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcons.c,v 1.31 2011/06/03 03:20:39 christos Exp $      */
+/*     $NetBSD: pcons.c,v 1.32 2013/09/15 09:25:22 martin Exp $        */
 
 /*-
  * Copyright (c) 2000 Eduardo E. Horvath
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcons.c,v 1.31 2011/06/03 03:20:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcons.c,v 1.32 2013/09/15 09:25:22 martin Exp $");
 
 #include "opt_ddb.h"
 
@@ -123,9 +123,6 @@
 {
        struct pconssoftc *sc;
        struct tty *tp;
-       struct proc *p;
-
-       p = l->l_proc;
        
        sc = device_lookup_private(&pcons_cd, minor(dev));
        if (!sc)



Home | Main Index | Thread Index | Old Index