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:
parent
63b6c3e1d1
commit
964e6a497b
|
@ -497,11 +497,11 @@ print_all_handlers(void)
|
||||||
return (count + total);
|
return (count + total);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ARGSUSED */
|
|
||||||
static int
|
static int
|
||||||
cancel_one_handler(int id, const char *pool, zinject_record_t *record,
|
cancel_one_handler(int id, const char *pool, zinject_record_t *record,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
|
(void) pool, (void) record, (void) data;
|
||||||
zfs_cmd_t zc = {"\0"};
|
zfs_cmd_t zc = {"\0"};
|
||||||
|
|
||||||
zc.zc_guid = (uint64_t)id;
|
zc.zc_guid = (uint64_t)id;
|
||||||
|
|
Loading…
Reference in New Issue