diff --git a/module/zfs/vdev_indirect.c b/module/zfs/vdev_indirect.c index 6362683ae93d..e539e9aa2d70 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;