Module Name:    src
Committed By:   riastradh
Date:           Sat Oct 29 00:19:22 UTC 2022

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

Log Message:
callout(9): Mark new flags local unused for non-KDTRACE_HOOKS builds.

(feel free to add a new __dtrace_used annotation to make this more
precise)


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/kern_timeout.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_timeout.c
diff -u src/sys/kern/kern_timeout.c:1.72 src/sys/kern/kern_timeout.c:1.73
--- src/sys/kern/kern_timeout.c:1.72	Fri Oct 28 21:53:26 2022
+++ src/sys/kern/kern_timeout.c	Sat Oct 29 00:19:21 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_timeout.c,v 1.72 2022/10/28 21:53:26 riastradh Exp $	*/
+/*	$NetBSD: kern_timeout.c,v 1.73 2022/10/29 00:19:21 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2003, 2006, 2007, 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_timeout.c,v 1.72 2022/10/28 21:53:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_timeout.c,v 1.73 2022/10/29 00:19:21 riastradh Exp $");
 
 /*
  * Timeouts are kept in a hierarchical timing wheel.  The c_time is the
@@ -817,7 +817,7 @@ callout_softclock(void *v)
 	void (*func)(void *);
 	void *arg;
 	int mpsafe, count, ticks, delta;
-	u_int flags;
+	u_int flags __unused;
 	lwp_t *l;
 
 	l = curlwp;

Reply via email to