Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Linus Torvalds
62026aed 16735d02

-10
-10
include/linux/completion.h
··· 106 106 extern void complete(struct completion *); 107 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 109 #endif