diff options
Diffstat (limited to 'module/zfs/zrlock.c')
-rw-r--r-- | module/zfs/zrlock.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c index 6deb25648..a4def6053 100644 --- a/module/zfs/zrlock.c +++ b/module/zfs/zrlock.c @@ -157,15 +157,6 @@ zrl_exit(zrlock_t *zrl) } int -zrl_refcount(zrlock_t *zrl) -{ - ASSERT3S(zrl->zr_refcount, >, ZRL_DESTROYED); - - int n = (int)zrl->zr_refcount; - return (n <= 0 ? 0 : n); -} - -int zrl_is_zero(zrlock_t *zrl) { ASSERT3S(zrl->zr_refcount, >, ZRL_DESTROYED); |