summaryrefslogtreecommitdiffstats
path: root/module/spl/spl-condvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl/spl-condvar.c')
-rw-r--r--module/spl/spl-condvar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/spl/spl-condvar.c b/module/spl/spl-condvar.c
index 1e2d0fc10..479bbfd12 100644
--- a/module/spl/spl-condvar.c
+++ b/module/spl/spl-condvar.c
@@ -311,9 +311,8 @@ cv_timedwait_hires_common(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t
tim = (tim / res) * res;
}
- ASSERT(!(flag & CALLOUT_FLAG_ABSOLUTE));
- /* get abs expire time */
- tim += gethrtime();
+ if (!(flag & CALLOUT_FLAG_ABSOLUTE))
+ tim += gethrtime();
return (__cv_timedwait_hires(cvp, mp, tim, state));
}