From c41335dce6819ad94a9f7942d648f71ebbdc2006 Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Sat, 30 Jan 2016 21:10:03 -0500 Subject: [PATCH] dm: remove unused dm_get_rq_mapinfo() Signed-off-by: Mike Snitzer --- drivers/md/dm.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 846e1bbd9824..873512d8fa85 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -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) /* -- 2.39.5