diff options
| author | Shaohua Li <shli@fb.com> | 2017-09-14 17:02:05 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2017-09-26 09:41:22 -0400 |
| commit | af551fb3be26a22b7a6b345b3b7e7e6acfc41758 (patch) | |
| tree | 775f393998555a5b11473d3e342e817a2e4fbd7d /include/linux/bio.h | |
| parent | 05e3db95ebfc5c06a29a1d8c7a3e02f46f3a25a7 (diff) | |
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/bio.h')
| -rw-r--r-- | include/linux/bio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 275c91c99516..9c75f58f6a50 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
| @@ -522,13 +522,11 @@ do { \ | |||
| 522 | 522 | ||
| 523 | #ifdef CONFIG_BLK_CGROUP | 523 | #ifdef CONFIG_BLK_CGROUP |
| 524 | int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css); | 524 | int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css); |
| 525 | int bio_associate_current(struct bio *bio); | ||
| 526 | void bio_disassociate_task(struct bio *bio); | 525 | void bio_disassociate_task(struct bio *bio); |
| 527 | void bio_clone_blkcg_association(struct bio *dst, struct bio *src); | 526 | void bio_clone_blkcg_association(struct bio *dst, struct bio *src); |
| 528 | #else /* CONFIG_BLK_CGROUP */ | 527 | #else /* CONFIG_BLK_CGROUP */ |
| 529 | static inline int bio_associate_blkcg(struct bio *bio, | 528 | static inline int bio_associate_blkcg(struct bio *bio, |
| 530 | struct cgroup_subsys_state *blkcg_css) { return 0; } | 529 | struct cgroup_subsys_state *blkcg_css) { return 0; } |
| 531 | static inline int bio_associate_current(struct bio *bio) { return -ENOENT; } | ||
| 532 | static inline void bio_disassociate_task(struct bio *bio) { } | 530 | static inline void bio_disassociate_task(struct bio *bio) { } |
| 533 | static inline void bio_clone_blkcg_association(struct bio *dst, | 531 | static inline void bio_clone_blkcg_association(struct bio *dst, |
| 534 | struct bio *src) { } | 532 | struct bio *src) { } |
