[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1381865480-3013-4-git-send-email-wsa@the-dreams.de>
Date: Tue, 15 Oct 2013 21:31:20 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: linux-kernel@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Wolfram Sang <wsa@...-dreams.de>
Subject: [RFC RESEND 3/3] sched: remove INIT_COMPLETION
All users are converted over to reinit_completion(). Remove the old
macro now.
Signed-off-by: Wolfram Sang <wsa@...-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists