Module Name:    src
Committed By:   martin
Date:           Mon Oct 26 19:55:11 UTC 2009

Modified Files:
        src/sys/arch/sparc64/dev: zs.c

Log Message:
g/c zssoftpending


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/sparc64/dev/zs.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/zs.c
diff -u src/sys/arch/sparc64/dev/zs.c:1.68 src/sys/arch/sparc64/dev/zs.c:1.69
--- src/sys/arch/sparc64/dev/zs.c:1.68	Fri May 22 03:51:30 2009
+++ src/sys/arch/sparc64/dev/zs.c	Mon Oct 26 19:55:11 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: zs.c,v 1.68 2009/05/22 03:51:30 mrg Exp $	*/
+/*	$NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.68 2009/05/22 03:51:30 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -410,9 +410,6 @@
 	return (UNCONF);
 }
 
-/* Deprecate this? */
-static volatile int zssoftpending;
-
 static int
 zshard(void *arg)
 {
@@ -428,7 +425,6 @@
 	if (((zsc->zsc_cs[0] && zsc->zsc_cs[0]->cs_softreq) ||
 	     (zsc->zsc_cs[1] && zsc->zsc_cs[1]->cs_softreq)) &&
 	    zsc->zsc_softintr) {
-		zssoftpending = PIL_TTY;
 		softint_schedule(zsc->zsc_softintr);
 	}
 	return (rval);
@@ -464,7 +460,6 @@
 	/* Make sure we call the tty layer with tty_lock held. */
 	mutex_spin_enter(&tty_lock);
 #endif
-	zssoftpending = 0;
 	(void)zsc_intr_soft(zsc);
 #ifdef TTY_DEBUG
 	{

Reply via email to