Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern callout(9): Mark new flags local unused for non-KDT...
details: https://anonhg.NetBSD.org/src/rev/0e17b791a8a0
branches: trunk
changeset: 372153:0e17b791a8a0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Oct 29 00:19:21 2022 +0000
description:
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)
diffstat:
sys/kern/kern_timeout.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 27f8f8cbf23a -r 0e17b791a8a0 sys/kern/kern_timeout.c
--- a/sys/kern/kern_timeout.c Fri Oct 28 23:44:38 2022 +0000
+++ b/sys/kern/kern_timeout.c Sat Oct 29 00:19:21 2022 +0000
@@ -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 @@
void (*func)(void *);
void *arg;
int mpsafe, count, ticks, delta;
- u_int flags;
+ u_int flags __unused;
lwp_t *l;
l = curlwp;
Home |
Main Index |
Thread Index |
Old Index