aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-16 15:49:34 -0400
committerTejun Heo <tj@kernel.org>2016-09-17 13:18:21 -0400
commit863b710b664bdcb90c0c682ee24adb368f497a5b (patch)
tree329f4b0b6ee0dec546de2249767af2484c75978e /include/linux/workqueue.h
parentdebugobj, workqueue: remove keventd_up() usage (diff)
downloadwireguard-linux-863b710b664bdcb90c0c682ee24adb368f497a5b.tar.xz
wireguard-linux-863b710b664bdcb90c0c682ee24adb368f497a5b.zip
workqueue: remove keventd_up()
keventd_up() no longer has in-kernel users. Remove it and make wq_online static. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 91d416f9c0a7..56417133c672 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -358,8 +358,6 @@ extern struct workqueue_struct *system_freezable_wq;
extern struct workqueue_struct *system_power_efficient_wq;
extern struct workqueue_struct *system_freezable_power_efficient_wq;
-extern bool wq_online;
-
extern struct workqueue_struct *
__alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
struct lock_class_key *key, const char *lock_name, ...) __printf(1, 6);
@@ -591,14 +589,6 @@ static inline bool schedule_delayed_work(struct delayed_work *dwork,
return queue_delayed_work(system_wq, dwork, delay);
}
-/**
- * keventd_up - is workqueue initialized yet?
- */
-static inline bool keventd_up(void)
-{
- return wq_online;
-}
-
#ifndef CONFIG_SMP
static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
{