2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +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:
Christoph Hellwig 2022-04-20 06:27:23 +02:00 committed by Jens Axboe
parent 82778259eb
commit f624506f98
2 changed files with 0 additions and 5 deletions

View File

@ -222,9 +222,5 @@ void kthread_associate_blkcg(struct cgroup_subsys_state *css);
struct cgroup_subsys_state *kthread_blkcg(void); struct cgroup_subsys_state *kthread_blkcg(void);
#else #else
static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { }
static inline struct cgroup_subsys_state *kthread_blkcg(void)
{
return NULL;
}
#endif #endif
#endif /* _LINUX_KTHREAD_H */ #endif /* _LINUX_KTHREAD_H */

View File

@ -1522,5 +1522,4 @@ struct cgroup_subsys_state *kthread_blkcg(void)
} }
return NULL; return NULL;
} }
EXPORT_SYMBOL(kthread_blkcg);
#endif #endif