projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a28dc35
)
blk-cgroup: Remove unused declaration blkg_path()
author
Yue Haibing
<yuehaibing@huawei.com>
Fri, 16 Aug 2024 09:58:21 +0000
(17:58 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 16 Aug 2024 21:07:27 +0000
(15:07 -0600)
Commit
bb7e5a193d8b
("block, bfq: remove blkg_path()") removed the
implementation but leave declaration.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link:
https://lore.kernel.org/r/20240816095821.877842-1-yuehaibing@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.h
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-cgroup.h
b/block/blk-cgroup.h
index 864fad4a850bb6b4b19c613ed40b6ec9e61ac714..b9e3265c1eb3072c07e1c469f242c9e3e50f3ba4 100644
(file)
--- 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) { }