diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2013-11-14 17:32:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 19:32:21 -0500 |
commit | 62026aedaacedbe1ffe94a3599ad4acd8ecdf587 (patch) | |
tree | 5ae1911806efced2e1a08cbd0c53f4db647a7bcc | |
parent | 16735d022f72b20ddbb2274b8e109f69575e9b2b (diff) |
sched: remove INIT_COMPLETION
All users are converted over to reinit_completion(). Remove the old
macro now.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/completion.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/completion.h b/include/linux/completion.h index 124e4b4334c1..5d5aaae3af43 100644 --- a/include/linux/completion.h +++ b/include/linux/completion.h | |||
@@ -106,14 +106,4 @@ extern bool completion_done(struct completion *x); | |||
106 | extern void complete(struct completion *); | 106 | extern void complete(struct completion *); |
107 | extern void complete_all(struct completion *); | 107 | extern void complete_all(struct completion *); |
108 | 108 | ||
109 | /** | ||
110 | * INIT_COMPLETION - reinitialize a completion structure | ||
111 | * @x: completion structure to be reinitialized | ||
112 | * | ||
113 | * This macro should be used to reinitialize a completion structure so it can | ||
114 | * be reused. This is especially important after complete_all() is used. | ||
115 | */ | ||
116 | #define INIT_COMPLETION(x) ((x).done = 0) | ||
117 | |||
118 | |||
119 | #endif | 109 | #endif |