Skip to content

Commit f624506

Browse files
Christoph Hellwigaxboe
authored andcommitted
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]>
1 parent 8277825 commit f624506

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/linux/kthread.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,5 @@ void kthread_associate_blkcg(struct cgroup_subsys_state *css);
222222
struct cgroup_subsys_state *kthread_blkcg(void);
223223
#else
224224
static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { }
225-
static inline struct cgroup_subsys_state *kthread_blkcg(void)
226-
{
227-
return NULL;
228-
}
229225
#endif
230226
#endif /* _LINUX_KTHREAD_H */

kernel/kthread.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,5 +1522,4 @@ struct cgroup_subsys_state *kthread_blkcg(void)
15221522
}
15231523
return NULL;
15241524
}
1525-
EXPORT_SYMBOL(kthread_blkcg);
15261525
#endif

0 commit comments

Comments
 (0)