]> git.proxmox.com Git - mirror_zfs.git/commitdiff
zed: agents: zfs_retire: fix unused, remove argsused
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sat, 11 Dec 2021 00:21:46 +0000 (01:21 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 21 Dec 2021 20:05:11 +0000 (12:05 -0800)
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12835

cmd/zed/agents/zfs_retire.c

index 5fb7b4e84c5e439f07d7bc04f9358ac29957696d..8f12bb82e1e41f38d51ccdb21d238238119f7bbd 100644 (file)
@@ -263,7 +263,6 @@ replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev)
  * ASRU is now usable.  ZFS has found the device to be present and
  * functioning.
  */
-/*ARGSUSED*/
 static void
 zfs_vdev_repair(fmd_hdl_t *hdl, nvlist_t *nvl)
 {
@@ -302,11 +301,11 @@ zfs_vdev_repair(fmd_hdl_t *hdl, nvlist_t *nvl)
            vdev_guid, pool_guid);
 }
 
-/*ARGSUSED*/
 static void
 zfs_retire_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl,
     const char *class)
 {
+       (void) ep;
        uint64_t pool_guid, vdev_guid;
        zpool_handle_t *zhp;
        nvlist_t *resource, *fault;