aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/kthread.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-04-20 06:27:23 +0200
committerJens Axboe <axboe@kernel.dk>2022-05-02 14:06:20 -0600
commitf624506f98b198e65b44da303f44974590fb16c0 (patch)
tree76a69aa14bed3d91e3db70db80bd8cae3e63920d /include/linux/kthread.h
parentblk-cgroup: cleanup blkcg_maybe_throttle_current (diff)
downloadwireguard-linux-f624506f98b198e65b44da303f44974590fb16c0.tar.xz
wireguard-linux-f624506f98b198e65b44da303f44974590fb16c0.zip
kthread: unexport kthread_blkcg
kthread_blkcg is only used by the built-in blk-cgroup code. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20220420042723.1010598-16-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/kthread.h')
-rw-r--r--include/linux/kthread.h4
1 files changed, 0 insertions, 4 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 */