Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched/wait: Remove wait_event_freezekillable()

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>

authored by

Peter Zijlstra (Intel) and committed by
Ingo Molnar
5d4d5658 36df04bc

-12
-12
include/linux/freezer.h
··· 246 246 * defined in <linux/wait.h> 247 247 */ 248 248 249 - #define wait_event_freezekillable(wq, condition) \ 250 - ({ \ 251 - int __retval; \ 252 - freezer_do_not_count(); \ 253 - __retval = wait_event_killable(wq, (condition)); \ 254 - freezer_count(); \ 255 - __retval; \ 256 - }) 257 - 258 249 /* DO NOT ADD ANY NEW CALLERS OF THIS FUNCTION */ 259 250 #define wait_event_freezekillable_unsafe(wq, condition) \ 260 251 ({ \ ··· 292 301 293 302 #define freezable_schedule_hrtimeout_range(expires, delta, mode) \ 294 303 schedule_hrtimeout_range(expires, delta, mode) 295 - 296 - #define wait_event_freezekillable(wq, condition) \ 297 - wait_event_killable(wq, condition) 298 304 299 305 #define wait_event_freezekillable_unsafe(wq, condition) \ 300 306 wait_event_killable(wq, condition)