From c7d2507fc455421429a531d722947ab415259c77 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sun, 3 Dec 2017 15:11:23 +0100 Subject: Revert "Make assert have no side effects" This reverts commit d18d0e85596f90e0bd597b33d58209d0b3973c95. --- kern/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/timer.c') diff --git a/kern/timer.c b/kern/timer.c index 5a94860e..d6d1d9d2 100644 --- a/kern/timer.c +++ b/kern/timer.c @@ -137,7 +137,7 @@ timer_unlock_cpu_data(struct timer_cpu_data *cpu_data, unsigned long flags) * Timer state functions. */ -__unused static bool +static bool timer_ready(const struct timer *timer) { return timer->state == TIMER_TS_READY; -- cgit v1.2.3