Commit ae6ad75e authored by Mike Snitzer's avatar Mike Snitzer

dm: remove unused dm_get_rq_mapinfo()

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 6acfe68b
......@@ -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)
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment