summaryrefslogtreecommitdiff
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-01-30 21:10:03 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 11:06:20 -0500
commitae6ad75e5c3c51f99c57e289058c5ec4c8701963 (patch)
tree5f23789b7e44e92af44914b4b71b35ea81f4851d /drivers/md/dm.c
parent6acfe68bac7e6f16dc312157b1fa6e2368985013 (diff)
dm: remove unused dm_get_rq_mapinfo()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index db7a51a20870..30302df20201 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)
/*