diff options
author | наб <[email protected]> | 2021-06-03 18:32:38 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-02 15:42:58 -0700 |
commit | 986d64cccac37883d0894365596ad95f8676a04b (patch) | |
tree | ee2df055c16e1ee58dde1c838981619e73aad62e | |
parent | 18e926808761bebd0fde3e9e74fa84dc1e19d353 (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
-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 b541058d9..8762855d4 100644 --- a/module/zfs/vdev_indirect.c +++ b/module/zfs/vdev_indirect.c @@ -1423,11 +1423,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; |