summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2016-02-07 12:17:34 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2016-02-07 12:17:34 +0000
commit7fcc6d0359d8a2bb8dcf4d3929ba8c7b53acc7fc (patch)
treed993b3f17a8cb82ec47bc1cec878254b876a6839 /sys
parent03e1f4d1d322640fea2abd94639c0c441433a444 (diff)
Remove a too strict assertion.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ipmi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index 1afc935fffa..59c2f3422d3 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.92 2016/02/05 06:29:01 uebayasi Exp $ */
+/* $OpenBSD: ipmi.c,v 1.93 2016/02/07 12:17:33 uebayasi Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi
@@ -1879,8 +1879,7 @@ ipmi_watchdog(void *arg, int period)
int res;
t = &sc->sc_wdog_tickle_task;
- res = task_del(systq, t);
- KASSERT(res == 0);
+ (void)task_del(systq, t);
res = task_add(systq, t);
KASSERT(res == 1);
}