diff options
author | наб <[email protected]> | 2021-12-12 15:38:17 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-12-23 09:42:47 -0800 |
commit | 1f182103aaf504669923f037ba49629201304263 (patch) | |
tree | 2a231f3ae9ad1331b937fd8d36616f52ac93d332 /lib/libzfs/libzfs_changelist.c | |
parent | 0cad373e5c9daa99c8b8063f17b630782d868ee0 (diff) |
libzfs: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12844
Diffstat (limited to 'lib/libzfs/libzfs_changelist.c')
-rw-r--r-- | lib/libzfs/libzfs_changelist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzfs/libzfs_changelist.c b/lib/libzfs/libzfs_changelist.c index cb0b0fd0d..645a0fbef 100644 --- a/lib/libzfs/libzfs_changelist.c +++ b/lib/libzfs/libzfs_changelist.c @@ -592,7 +592,6 @@ compare_props(const void *a, const void *b, zfs_prop_t prop) return (strcmp(propb, propa)); } -/*ARGSUSED*/ static int compare_mountpoints(const void *a, const void *b, void *unused) { @@ -602,13 +601,14 @@ compare_mountpoints(const void *a, const void *b, void *unused) * hierarchy that is different from the dataset hierarchy, and still * allow it to be changed. */ + (void) unused; return (compare_props(a, b, ZFS_PROP_MOUNTPOINT)); } -/*ARGSUSED*/ static int compare_dataset_names(const void *a, const void *b, void *unused) { + (void) unused; return (compare_props(a, b, ZFS_PROP_NAME)); } |