PERFORCE change 112585 for review

Paolo Pisati piso at FreeBSD.org
Fri Jan 5 18:04:35 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=112585

Change 112585 by piso at 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--;


More information about the p4-projects mailing list