zfs: iter: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12835
This commit is contained in:
parent
d8f32c0eb7
commit
1fedd01247
|
@ -267,9 +267,8 @@ zfs_list_only_by_fast(const zprop_list_t *p)
|
|||
return (B_TRUE);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
zfs_compare(const void *larg, const void *rarg, void *unused)
|
||||
zfs_compare(const void *larg, const void *rarg)
|
||||
{
|
||||
zfs_handle_t *l = ((zfs_node_t *)larg)->zn_handle;
|
||||
zfs_handle_t *r = ((zfs_node_t *)rarg)->zn_handle;
|
||||
|
@ -430,7 +429,7 @@ zfs_sort(const void *larg, const void *rarg, void *data)
|
|||
}
|
||||
}
|
||||
|
||||
return (zfs_compare(larg, rarg, NULL));
|
||||
return (zfs_compare(larg, rarg));
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue