mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
module: zfs: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
@@ -1820,10 +1820,10 @@ vdev_prop_allocating_off(vdev_t *vd)
|
||||
return (allocating == 0);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
spa_vdev_remove_cancel_check(void *arg, dmu_tx_t *tx)
|
||||
{
|
||||
(void) arg;
|
||||
spa_t *spa = dmu_tx_pool(tx)->dp_spa;
|
||||
|
||||
if (spa->spa_vdev_removal == NULL)
|
||||
@@ -1835,10 +1835,10 @@ spa_vdev_remove_cancel_check(void *arg, dmu_tx_t *tx)
|
||||
* Cancel a removal by freeing all entries from the partial mapping
|
||||
* and marking the vdev as no longer being removing.
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
spa_vdev_remove_cancel_sync(void *arg, dmu_tx_t *tx)
|
||||
{
|
||||
(void) arg;
|
||||
spa_t *spa = dmu_tx_pool(tx)->dp_spa;
|
||||
spa_vdev_removal_t *svr = spa->spa_vdev_removal;
|
||||
vdev_t *vd = vdev_lookup_top(spa, svr->svr_vdev_id);
|
||||
|
||||
Reference in New Issue
Block a user