Messages in this thread Patch in this message | | | From | Wolfram Sang <> | Subject | [RFC RESEND 3/3] sched: remove INIT_COMPLETION | Date | Tue, 15 Oct 2013 21:31:20 +0200 |
| |
All users are converted over to reinit_completion(). Remove the old macro now.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de> ---
This patch is mainly here for build testing (to spot missed conversions). I am fine with applying this some cycles later than the rest.
include/linux/completion.h | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/include/linux/completion.h b/include/linux/completion.h index 2195e32..2d309b9 100644 --- a/include/linux/completion.h +++ b/include/linux/completion.h @@ -106,14 +106,4 @@ extern bool completion_done(struct completion *x); extern void complete(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 -- 1.8.4.rc3
| |