Module Name:    src
Committed By:   martin
Date:           Sat Oct 19 18:42:05 UTC 2013

Modified Files:
        src/sys/kern: kern_runq.c

Log Message:
cpu_need_resched(ci, type) might not make use of the type argument - mark
the variable declaration accordingly.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/kern/kern_runq.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/kern/kern_runq.c
diff -u src/sys/kern/kern_runq.c:1.38 src/sys/kern/kern_runq.c:1.39
--- src/sys/kern/kern_runq.c:1.38	Tue Mar 12 23:16:31 2013
+++ src/sys/kern/kern_runq.c	Sat Oct 19 18:42:05 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_runq.c,v 1.38 2013/03/12 23:16:31 yamt Exp $	*/
+/*	$NetBSD: kern_runq.c,v 1.39 2013/10/19 18:42:05 martin Exp $	*/
 
 /*
  * Copyright (c) 2007, 2008 Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.38 2013/03/12 23:16:31 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.39 2013/10/19 18:42:05 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -211,7 +211,7 @@ sched_enqueue(struct lwp *l, bool swtch)
 	TAILQ_HEAD(, lwp) *q_head;
 	const pri_t eprio = lwp_eprio(l);
 	struct cpu_info *ci;
-	int type;
+	int type __unused;
 
 	ci = l->l_cpu;
 	spc = &ci->ci_schedstate;

Reply via email to