提交 ae6ad75e 编写于 作者: M Mike Snitzer

dm: remove unused dm_get_rq_mapinfo()

Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册