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 unused variable
details: https://anonhg.NetBSD.org/src/rev/a848b23d6e51
branches: trunk
changeset: 790040:a848b23d6e51
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 13:45:31 2013 +0000
description:
Remove unused variable
diffstat:
sys/arch/sparc64/dev/sab.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 6f7f8513ff7f -r a848b23d6e51 sys/arch/sparc64/dev/sab.c
--- a/sys/arch/sparc64/dev/sab.c Sun Sep 15 13:43:20 2013 +0000
+++ b/sys/arch/sparc64/dev/sab.c Sun Sep 15 13:45:31 2013 +0000
@@ -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 @@
{
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 @@
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);
Home |
Main Index |
Thread Index |
Old Index