diff mbox series

[-next] dm: Remove unused declaration dm_get_rq_mapinfo()

Message ID 20240801133121.3021871-1-yuehaibing@huawei.com (mailing list archive)
State Accepted, archived
Delegated to: Mikulas Patocka
Headers show
Series [-next] dm: Remove unused declaration dm_get_rq_mapinfo() | expand

Commit Message

Yue Haibing Aug. 1, 2024, 1:31 p.m. UTC
Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/linux/device-mapper.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Damien Le Moal Aug. 2, 2024, 12:48 a.m. UTC | #1
On 8/1/24 22:31, Yue Haibing wrote:
> Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
diff mbox series

Patch

diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 53ca3a913d06..8321f65897f3 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -524,7 +524,6 @@  int dm_post_suspending(struct dm_target *ti);
 int dm_noflush_suspending(struct dm_target *ti);
 void dm_accept_partial_bio(struct bio *bio, unsigned int n_sectors);
 void dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone);
-union map_info *dm_get_rq_mapinfo(struct request *rq);
 
 #ifdef CONFIG_BLK_DEV_ZONED
 struct dm_report_zones_args {