diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 2cb33896198c4c..2d368cafb23e77 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1280,7 +1280,6 @@ static blk_qc_t __map_bio(struct dm_target_io *tio) sector_t sector; struct bio *clone = &tio->clone; struct dm_io *io = tio->io; - struct mapped_device *md = io->md; struct dm_target *ti = tio->ti; blk_qc_t ret = BLK_QC_T_NONE;