mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
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>
This commit is contained in:
parent
82778259eb
commit
f624506f98
@ -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 */
|
||||
|
@ -1522,5 +1522,4 @@ struct cgroup_subsys_state *kthread_blkcg(void)
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
EXPORT_SYMBOL(kthread_blkcg);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user