mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +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
@@ -1707,25 +1707,3 @@ ace_trivial_common(void *acep, int aclcnt,
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
ace_walk(void *datap, uint64_t cookie, int aclcnt, uint16_t *flags,
|
||||
uint16_t *type, uint32_t *mask)
|
||||
{
|
||||
ace_t *acep = datap;
|
||||
|
||||
if (cookie >= aclcnt)
|
||||
return (0);
|
||||
|
||||
*flags = acep[cookie].a_flags;
|
||||
*type = acep[cookie].a_type;
|
||||
*mask = acep[cookie++].a_access_mask;
|
||||
|
||||
return (cookie);
|
||||
}
|
||||
|
||||
int
|
||||
ace_trivial(ace_t *acep, int aclcnt)
|
||||
{
|
||||
return (ace_trivial_common(acep, aclcnt, ace_walk));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user