Commit f624506f authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

kthread: unexport kthread_blkcg



kthread_blkcg is only used by the built-in blk-cgroup code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220420042723.1010598-16-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 82778259
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 */
+0 −1
Original line number Diff line number Diff line
@@ -1522,5 +1522,4 @@ struct cgroup_subsys_state *kthread_blkcg(void)
	}
	return NULL;
}
EXPORT_SYMBOL(kthread_blkcg);
#endif