zpool: iter: zpool_compare: 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:
наб 2021-12-11 01:05:01 +01:00 committed by Brian Behlendorf
parent 964e6a497b
commit b487738d34
1 changed files with 1 additions and 1 deletions

View File

@ -63,10 +63,10 @@ struct zpool_list {
zfs_type_t zl_type;
};
/* ARGSUSED */
static int
zpool_compare(const void *larg, const void *rarg, void *unused)
{
(void) unused;
zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle;
zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle;
const char *lname = zpool_get_name(l);