[RFC RESEND 3/3] sched: remove INIT_COMPLETION

From: Wolfram Sang
Date: Tue Oct 15 2013 - 15:33:13 EST


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

Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/