diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 8c53b09b9a2c..ef5750d21235 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -94,13 +94,6 @@ struct dm_rq_clone_bio_info { | |||
94 | struct bio clone; | 94 | struct bio clone; |
95 | }; | 95 | }; |
96 | 96 | ||
97 | union map_info *dm_get_mapinfo(struct bio *bio) | ||
98 | { | ||
99 | if (bio && bio->bi_private) | ||
100 | return &((struct dm_target_io *)bio->bi_private)->info; | ||
101 | return NULL; | ||
102 | } | ||
103 | |||
104 | union map_info *dm_get_rq_mapinfo(struct request *rq) | 97 | union map_info *dm_get_rq_mapinfo(struct request *rq) |
105 | { | 98 | { |
106 | if (rq && rq->end_io_data) | 99 | if (rq && rq->end_io_data) |
@@ -1195,7 +1188,6 @@ static struct dm_target_io *alloc_tio(struct clone_info *ci, | |||
1195 | 1188 | ||
1196 | tio->io = ci->io; | 1189 | tio->io = ci->io; |
1197 | tio->ti = ti; | 1190 | tio->ti = ti; |
1198 | memset(&tio->info, 0, sizeof(tio->info)); | ||
1199 | tio->target_bio_nr = target_bio_nr; | 1191 | tio->target_bio_nr = target_bio_nr; |
1200 | 1192 | ||
1201 | return tio; | 1193 | return tio; |
@@ -2873,8 +2865,6 @@ static const struct block_device_operations dm_blk_dops = { | |||
2873 | .owner = THIS_MODULE | 2865 | .owner = THIS_MODULE |
2874 | }; | 2866 | }; |
2875 | 2867 | ||
2876 | EXPORT_SYMBOL(dm_get_mapinfo); | ||
2877 | |||
2878 | /* | 2868 | /* |
2879 | * module hooks | 2869 | * module hooks |
2880 | */ | 2870 | */ |