Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2007 02:04:34 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 112585 for review
Message-ID:  <200701060204.l0624YM3002159@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112585

Change 112585 by piso@piso_newluxor on 2007/01/06 02:04:28

	Gargabe collect another var.

Affected files ...

.. //depot/projects/soc2006/intr_filter/kern/kern_intr.c#26 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/kern/kern_intr.c#26 (text+ko) ====

@@ -1012,7 +1012,7 @@
 {
 	struct intr_thread *ithd;
 	struct thread *td;
-	int error, thread;
+	int thread;
 
 	ithd = NULL;
 	td = curthread;
@@ -1051,8 +1051,7 @@
 
 	/* Schedule an ithread if needed. */
 	if (thread & FILTER_SCHEDULE_THREAD) {
-		error = intr_event_schedule_thread(ie, ithd);
-		if (error != 0)
+		if (intr_event_schedule_thread(ie, ithd) != 0)
 			panic("%s: impossible stray interrupt", __func__);
 	}
 	td->td_intr_nesting_level--;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701060204.l0624YM3002159>