dm: Remove unused declaration dm_get_rq_mapinfo()
PATCH 1/1 dm: Remove unused declaration dm_get_rq_mapinfo()
Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()") removed the implementation but leave declaration.
Signed-off-by Yue Haibing <[email protected]>
--- include/linux/device-mapper.h | 1 - 1 file changed, 1 deletion(-)
include/linux/device-mapper.h +0 -1
@@ -502,7 +502,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 {
Signature · 1 line
2.34.1
On Tue, 8 Aug 2023 23:03:01 +0800
Yue Haibing <[email protected]> wrote:
Hi,
Quoted 2 lines
Commit
ae6ad75e5c3c("dm: remove unuseddm_get_rq_mapinfo()") removed the implementation but leave declaration.
Maybe change to "removed the implementation but not the declaration."
Hugo Villeneuve.
Quoted 20 lines
Signed-off-by Yue Haibing <[email protected]>--- include/linux/device-mapper.h | 1 - 1 file changed, 1 deletion(-)include/linux/device-mapper.h +0
-1@@ -502,7 +502,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 {Signature · 1 line
2.34.1
Quoted 9 lines · Hugo Villeneuve
On Tue, 8 Aug 2023 23:03:01 +0800
Yue Haibing <[email protected]> wrote:Hi,
Quoted 2 lines
Commit
ae6ad75e5c3c("dm: remove unuseddm_get_rq_mapinfo()") removed the implementation but leave declaration.Maybe change to "removed the implementation but not the declaration."
Thanks, will do this in v2.
Quoted 27 lines
Hugo Villeneuve.
Quoted 20 lines
Signed-off-by Yue Haibing <[email protected]>--- include/linux/device-mapper.h | 1 - 1 file changed, 1 deletion(-)include/linux/device-mapper.h +0
-1@@ -502,7 +502,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 {Signature · 1 line
2.34.1.