Module Name: src Committed By: martin Date: Sun Sep 15 13:45:31 UTC 2013
Modified Files: src/sys/arch/sparc64/dev: sab.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/sparc64/dev/sab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc64/dev/sab.c diff -u src/sys/arch/sparc64/dev/sab.c:1.49 src/sys/arch/sparc64/dev/sab.c:1.50 --- src/sys/arch/sparc64/dev/sab.c:1.49 Wed Oct 3 07:16:49 2012 +++ src/sys/arch/sparc64/dev/sab.c Sun Sep 15 13:45:31 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: sab.c,v 1.49 2012/10/03 07:16:49 mlelstv Exp $ */ +/* $NetBSD: sab.c,v 1.50 2013/09/15 13:45:31 martin Exp $ */ /* $OpenBSD: sab.c,v 1.7 2002/04/08 17:49:42 jason Exp $ */ /* @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sab.c,v 1.49 2012/10/03 07:16:49 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sab.c,v 1.50 2013/09/15 13:45:31 martin Exp $"); #include "opt_kgdb.h" #include <sys/types.h> @@ -662,7 +662,6 @@ sabopen(dev_t dev, int flags, int mode, { struct sabtty_softc *sc; struct tty *tp; - struct proc *p; int s, s1; sc = device_lookup_private(&sabtty_cd, SABUNIT(dev)); @@ -671,7 +670,6 @@ sabopen(dev_t dev, int flags, int mode, tp = sc->sc_tty; tp->t_dev = dev; - p = l->l_proc; if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) return (EBUSY);