Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62026aed authored by Wolfram Sang's avatar Wolfram Sang Committed by Linus Torvalds
Browse files

sched: remove INIT_COMPLETION



All users are converted over to reinit_completion(). Remove the old
macro now.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 16735d02
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -106,14 +106,4 @@ extern bool completion_done(struct completion *x);
extern void complete(struct completion *);
extern void complete(struct completion *);
extern void complete_all(struct completion *);
extern void complete_all(struct completion *);


/**
 * INIT_COMPLETION - reinitialize a completion structure
 * @x:  completion structure to be reinitialized
 *
 * This macro should be used to reinitialize a completion structure so it can
 * be reused. This is especially important after complete_all() is used.
 */
#define INIT_COMPLETION(x)	((x).done = 0)


#endif
#endif