diff options
author | arr <arr@FreeBSD.org> | 2002-06-17 06:10:17 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-06-17 06:10:17 +0000 |
commit | 325fb576a66025dd9d658d61f2c2602bbcca08cf (patch) | |
tree | 1059e1817e394305b78220490f4ca4f542a49e3f /sys | |
parent | a229b7d3a34ea00bddcc7e5ea43b35557f2a03d4 (diff) | |
download | FreeBSD-src-325fb576a66025dd9d658d61f2c2602bbcca08cf.zip FreeBSD-src-325fb576a66025dd9d658d61f2c2602bbcca08cf.tar.gz |
- Turn a DIAGNOSTIC check into a KASSERT(9).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netatm/atm_subr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c index da0ea4c..97defe9 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 |