diff options
author | наб <[email protected]> | 2021-06-03 18:32:38 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-07 20:58:51 -0700 |
commit | 6bab6ee838bc76d8f8be9749a0708b1187e32114 (patch) | |
tree | 21e213938bfa4c82fa9e794eb2689184f3520be1 /module/zfs | |
parent | f70f3e2fbc9d7071563b113b1a4a688a0ab4cb12 (diff) |
module/zfs: vdev_indirect: vdev_indirect_repair: remove unused variable
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12187
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/vdev_indirect.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/module/zfs/vdev_indirect.c b/module/zfs/vdev_indirect.c index 6362683ae..e539e9aa2 100644 --- a/module/zfs/vdev_indirect.c +++ b/module/zfs/vdev_indirect.c @@ -1424,11 +1424,6 @@ vdev_indirect_repair(zio_t *zio) { indirect_vsd_t *iv = zio->io_vsd; - enum zio_flag flags = ZIO_FLAG_IO_REPAIR; - - if (!(zio->io_flags & (ZIO_FLAG_SCRUB | ZIO_FLAG_RESILVER))) - flags |= ZIO_FLAG_SELF_HEAL; - if (!spa_writeable(zio->io_spa)) return; |