mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
blkcg: delete unused APIs
Nobody uses the APIs right now. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
05e3db95eb
commit
af551fb3be
3 changed files with 0 additions and 45 deletions
|
@ -235,12 +235,6 @@ static inline struct blkcg *bio_blkcg(struct bio *bio)
|
|||
return task_blkcg(current);
|
||||
}
|
||||
|
||||
static inline struct cgroup_subsys_state *
|
||||
task_get_blkcg_css(struct task_struct *task)
|
||||
{
|
||||
return task_get_css(task, io_cgrp_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* blkcg_parent - get the parent of a blkcg
|
||||
* @blkcg: blkcg of interest
|
||||
|
@ -735,12 +729,6 @@ struct blkcg_policy {
|
|||
|
||||
#define blkcg_root_css ((struct cgroup_subsys_state *)ERR_PTR(-EINVAL))
|
||||
|
||||
static inline struct cgroup_subsys_state *
|
||||
task_get_blkcg_css(struct task_struct *task)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BLOCK
|
||||
|
||||
static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, void *key) { return NULL; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue