diff options
author | Shaohua Li <shli@fb.com> | 2017-09-15 00:02:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-26 16:41:22 +0300 |
commit | af551fb3be26a22b7a6b345b3b7e7e6acfc41758 (patch) | |
tree | 775f393998555a5b11473d3e342e817a2e4fbd7d /include/linux/blk-cgroup.h | |
parent | 05e3db95ebfc5c06a29a1d8c7a3e02f46f3a25a7 (diff) | |
download | linux-af551fb3be26a22b7a6b345b3b7e7e6acfc41758.tar.xz |
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>
Diffstat (limited to 'include/linux/blk-cgroup.h')
-rw-r--r-- | include/linux/blk-cgroup.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h index 9d92153dd856..0cfa8d2ef4d6 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -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; } |