module/zfs: vdev_indirect: vdev_indirect_repair: remove unused variable

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12187
This commit is contained in:
наб 2021-06-03 18:32:38 +02:00 committed by Brian Behlendorf
parent 18e9268087
commit 986d64ccca
1 changed files with 0 additions and 5 deletions

View File

@ -1423,11 +1423,6 @@ vdev_indirect_repair(zio_t *zio)
{ {
indirect_vsd_t *iv = zio->io_vsd; 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)) if (!spa_writeable(zio->io_spa))
return; return;