dm: remove unused dm_get_rq_mapinfo()
authorMike Snitzer <snitzer@redhat.com>
Sun, 31 Jan 2016 02:10:03 +0000 (21:10 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 22 Feb 2016 16:06:20 +0000 (11:06 -0500)
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c

index db7a51a208706fd433806f47be3c0a5aa1745019..30302df2020153e719b2b8be6722ad57d4cf648e 100644 (file)
@@ -106,14 +106,6 @@ struct dm_rq_clone_bio_info {
        struct bio clone;
 };
 
-union map_info *dm_get_rq_mapinfo(struct request *rq)
-{
-       if (rq && rq->end_io_data)
-               return &((struct dm_rq_target_io *)rq->end_io_data)->info;
-       return NULL;
-}
-EXPORT_SYMBOL_GPL(dm_get_rq_mapinfo);
-
 #define MINOR_ALLOCED ((void *)-1)
 
 /*