Linux Kernels

dm: remove unused dm_get_rq_mapinfo()

This change “dm: remove unused dm_get_rq_mapinfo()” (commit ae6ad75) in Linux kernel is authored by Mike Snitzer <snitzer [at] redhat.com> on Sat Jan 30 21:10:03 2016 -0500.

Description of "dm: remove unused dm_get_rq_mapinfo()"

The change “dm: remove unused dm_get_rq_mapinfo()” introduces changes as follows.

dm: remove unused dm_get_rq_mapinfo()

Signed-off-by: Mike Snitzer <snitzer@redhat.com>

Linux kernel releases containing commit ae6ad75

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "dm: remove unused dm_get_rq_mapinfo()"

There are 8 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/md/dm.c | 8 --------
 1 file changed, 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)
 
 /*

The commit for this change in Linux stable tree is ae6ad75 (patch).

Last modified: 2020/01/11 06:41