mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
Remove dead code
Delete unused functions. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10470
This commit is contained in:
committed by
Brian Behlendorf
parent
65c7cc49bf
commit
c3fe42aabd
@@ -156,15 +156,6 @@ zrl_exit(zrlock_t *zrl)
|
||||
mutex_exit(&zrl->zr_mtx);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user