diff mbox series

[-next] blk-cgroup: Remove unused declaration blkg_path()

Message ID 20240816095821.877842-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] blk-cgroup: Remove unused declaration blkg_path() | expand

Commit Message

Yue Haibing Aug. 16, 2024, 9:58 a.m. UTC
Commit bb7e5a193d8b ("block, bfq: remove blkg_path()") removed the
implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 block/blk-cgroup.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Jens Axboe Aug. 16, 2024, 9:08 p.m. UTC | #1
On Fri, 16 Aug 2024 17:58:21 +0800, Yue Haibing wrote:
> Commit bb7e5a193d8b ("block, bfq: remove blkg_path()") removed the
> implementation but leave declaration.
> 
> 

Applied, thanks!

[1/1] blk-cgroup: Remove unused declaration blkg_path()
      commit: b2261de75212910e2ca01fa673c8855a535d8c60

Best regards,
diff mbox series

Patch

diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index 864fad4a850b..b9e3265c1eb3 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -485,7 +485,6 @@  static inline void blkcg_deactivate_policy(struct gendisk *disk,
 static inline struct blkg_policy_data *blkg_to_pd(struct blkcg_gq *blkg,
 						  struct blkcg_policy *pol) { return NULL; }
 static inline struct blkcg_gq *pd_to_blkg(struct blkg_policy_data *pd) { return NULL; }
-static inline char *blkg_path(struct blkcg_gq *blkg) { return NULL; }
 static inline void blkg_get(struct blkcg_gq *blkg) { }
 static inline void blkg_put(struct blkcg_gq *blkg) { }
 static inline void blkcg_bio_issue_init(struct bio *bio) { }