lkml.org 
[lkml]   [2013]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC RESEND 3/3] sched: remove INIT_COMPLETION
Date
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


\
 
 \ /
  Last update: 2013-10-15 22:01    [W:0.051 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site