Skip to content

Commit

Permalink
zinject: cancel_one_handler: fix unused, remove argsused
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#12835
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 13e806f commit 588c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zinject/zinject.c
Expand Up @@ -497,11 +497,11 @@ print_all_handlers(void)
return (count + total);
}

/* ARGSUSED */
static int
cancel_one_handler(int id, const char *pool, zinject_record_t *record,
void *data)
{
(void) pool, (void) record, (void) data;
zfs_cmd_t zc = {"\0"};

zc.zc_guid = (uint64_t)id;
Expand Down

0 comments on commit 588c51b

Please sign in to comment.