zinject: cancel_one_handler: 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 00:56:59 +01:00 committed by Brian Behlendorf
parent 63b6c3e1d1
commit 964e6a497b
1 changed files with 1 additions and 1 deletions

View File

@ -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;