diff options
author | 2016-02-07 12:17:33 +0000 | |
---|---|---|
committer | 2016-02-07 12:17:33 +0000 | |
commit | e0bef428ca92ee5fc08d00d6eed5e3b0b46c3ee1 (patch) | |
tree | aac10fd3ec68abb4de2165dd0b2240e7ec24e950 | |
parent | Make sure the maximum iwm(4) firmware command payload size fits into (diff) | |
download | wireguard-openbsd-e0bef428ca92ee5fc08d00d6eed5e3b0b46c3ee1.tar.xz wireguard-openbsd-e0bef428ca92ee5fc08d00d6eed5e3b0b46c3ee1.zip |
Remove a too strict assertion.
-rw-r--r-- | sys/dev/ipmi.c | 5 |
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); } |