Skip to content

Commit

Permalink
sched/wait: Remove wait_event_freezekillable()
Browse files Browse the repository at this point in the history
There is no user.. make it go away.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: oleg@redhat.com
Cc: Rafael Wysocki <rjw@rjwysocki.net>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Peter Zijlstra (Intel) authored and Ingo Molnar committed Nov 4, 2014
1 parent 36df04b commit 5d4d565
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/linux/freezer.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@ static inline int freezable_schedule_hrtimeout_range(ktime_t *expires,
* defined in <linux/wait.h>
*/

#define wait_event_freezekillable(wq, condition) \
({ \
int __retval; \
freezer_do_not_count(); \
__retval = wait_event_killable(wq, (condition)); \
freezer_count(); \
__retval; \
})

/* DO NOT ADD ANY NEW CALLERS OF THIS FUNCTION */
#define wait_event_freezekillable_unsafe(wq, condition) \
({ \
Expand Down Expand Up @@ -302,9 +293,6 @@ static inline void set_freezable(void) {}
#define freezable_schedule_hrtimeout_range(expires, delta, mode) \
schedule_hrtimeout_range(expires, delta, mode)

#define wait_event_freezekillable(wq, condition) \
wait_event_killable(wq, condition)

#define wait_event_freezekillable_unsafe(wq, condition) \
wait_event_killable(wq, condition)

Expand Down

0 comments on commit 5d4d565

Please sign in to comment.