Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern cpu_need_resched(ci, type) might not make use of th...
details: https://anonhg.NetBSD.org/src/rev/e3965f8ce8a7
branches: trunk
changeset: 790709:e3965f8ce8a7
user: martin <martin%NetBSD.org@localhost>
date: Sat Oct 19 18:42:05 2013 +0000
description:
cpu_need_resched(ci, type) might not make use of the type argument - mark
the variable declaration accordingly.
diffstat:
sys/kern/kern_runq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fa72e98cf91f -r e3965f8ce8a7 sys/kern/kern_runq.c
--- a/sys/kern/kern_runq.c Sat Oct 19 18:39:30 2013 +0000
+++ b/sys/kern/kern_runq.c Sat Oct 19 18:42:05 2013 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index