aboutsummaryrefslogtreecommitdiff
path: root/sys/netatm/atm_subr.c
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-06-17 06:10:17 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-06-17 06:10:17 +0000
commit54c786c202305c358c7a3282bb1fb726973123c2 (patch)
tree1059e1817e394305b78220490f4ca4f542a49e3f /sys/netatm/atm_subr.c
parent48e40af8a325ef29cb3f09149949b4725ef18bd8 (diff)
downloadsrc-54c786c202305c358c7a3282bb1fb726973123c2.tar.gz
src-54c786c202305c358c7a3282bb1fb726973123c2.zip
- Turn a DIAGNOSTIC check into a KASSERT(9).
Notes
Notes: svn path=/head/; revision=98329
Diffstat (limited to 'sys/netatm/atm_subr.c')
-rw-r--r--sys/netatm/atm_subr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c
index da0ea4c899f7..97defe94635f 100644
--- a/sys/netatm/atm_subr.c
+++ b/sys/netatm/atm_subr.c
@@ -180,10 +180,7 @@ atm_timexp(arg)
/*
* Stack queue should have been drained
*/
-#ifdef DIAGNOSTIC
- if (atm_stackq_head != NULL)
- panic("atm_timexp: stack queue not empty");
-#endif
+ KASSERT(atm_stackq_head == NULL, ("atm_timexp: stack queue not empty"));
/*
* Dispatch expired timers