diff options
| author | Peter Zijlstra <[email protected]> | 2018-06-12 10:34:50 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-06-20 11:35:56 +0200 |
| commit | 6519750210d9d3330e85d12e0128652edde448d2 (patch) | |
| tree | 08c2114201464120ac3683a58c9d67f4f6a5d3e7 /kernel | |
| parent | 9ffc59d57228d74809700be6f7ecb1db10292f05 (diff) | |
sched/swait: Remove __prepare_to_swait
There is no public user of this API, remove it.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched/swait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/swait.c b/kernel/sched/swait.c index b6fb2c3b3ff7..e68bb1398b05 100644 --- a/kernel/sched/swait.c +++ b/kernel/sched/swait.c @@ -69,7 +69,7 @@ void swake_up_all(struct swait_queue_head *q) } EXPORT_SYMBOL(swake_up_all); -void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) +static void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) { wait->task = current; if (list_empty(&wait->task_list)) |