diff options
author | Christoph Hellwig <[email protected]> | 2022-04-20 06:27:23 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-05-02 14:06:20 -0600 |
commit | f624506f98b198e65b44da303f44974590fb16c0 (patch) | |
tree | 76a69aa14bed3d91e3db70db80bd8cae3e63920d | |
parent | 82778259eb201870d6d4f95ca4162de60a682343 (diff) |
kthread: unexport kthread_blkcg
kthread_blkcg is only used by the built-in blk-cgroup code.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r-- | include/linux/kthread.h | 4 | ||||
-rw-r--r-- | kernel/kthread.c | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kthread.h b/include/linux/kthread.h index de5d75bafd66..30e5bec81d2b 100644 --- a/include/linux/kthread.h +++ b/include/linux/kthread.h @@ -222,9 +222,5 @@ void kthread_associate_blkcg(struct cgroup_subsys_state *css); struct cgroup_subsys_state *kthread_blkcg(void); #else static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } -static inline struct cgroup_subsys_state *kthread_blkcg(void) -{ - return NULL; -} #endif #endif /* _LINUX_KTHREAD_H */ diff --git a/kernel/kthread.c b/kernel/kthread.c index 50265f69a135..544fd4097406 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -1522,5 +1522,4 @@ struct cgroup_subsys_state *kthread_blkcg(void) } return NULL; } -EXPORT_SYMBOL(kthread_blkcg); #endif |