aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-09-14 14:02:05 -0700
committerJens Axboe <axboe@kernel.dk>2017-09-26 07:41:22 -0600
commitaf551fb3be26a22b7a6b345b3b7e7e6acfc41758 (patch)
tree775f393998555a5b11473d3e342e817a2e4fbd7d /include/linux/bio.h
parentkthread: add a mechanism to store cgroup info (diff)
downloadwireguard-linux-af551fb3be26a22b7a6b345b3b7e7e6acfc41758.tar.xz
wireguard-linux-af551fb3be26a22b7a6b345b3b7e7e6acfc41758.zip
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.h2
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 { \
#ifdef CONFIG_BLK_CGROUP
int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css);
-int bio_associate_current(struct bio *bio);
void bio_disassociate_task(struct bio *bio);
void bio_clone_blkcg_association(struct bio *dst, struct bio *src);
#else /* CONFIG_BLK_CGROUP */
static inline int bio_associate_blkcg(struct bio *bio,
struct cgroup_subsys_state *blkcg_css) { return 0; }
-static inline int bio_associate_current(struct bio *bio) { return -ENOENT; }
static inline void bio_disassociate_task(struct bio *bio) { }
static inline void bio_clone_blkcg_association(struct bio *dst,
struct bio *src) { }