mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
zed: agents: zfs_retire: 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
491165c079
commit
d6fccfe62e
@ -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
|
* ASRU is now usable. ZFS has found the device to be present and
|
||||||
* functioning.
|
* functioning.
|
||||||
*/
|
*/
|
||||||
/*ARGSUSED*/
|
|
||||||
static void
|
static void
|
||||||
zfs_vdev_repair(fmd_hdl_t *hdl, nvlist_t *nvl)
|
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);
|
vdev_guid, pool_guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*ARGSUSED*/
|
|
||||||
static void
|
static void
|
||||||
zfs_retire_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl,
|
zfs_retire_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl,
|
||||||
const char *class)
|
const char *class)
|
||||||
{
|
{
|
||||||
|
(void) ep;
|
||||||
uint64_t pool_guid, vdev_guid;
|
uint64_t pool_guid, vdev_guid;
|
||||||
zpool_handle_t *zhp;
|
zpool_handle_t *zhp;
|
||||||
nvlist_t *resource, *fault;
|
nvlist_t *resource, *fault;
|
||||||
|
Loading…
Reference in New Issue
Block a user