Skip to contentSkip to conversation

kernel/sched.c: remove two unused functions

RFC PATCH New Adrian Bunk 1 participant 1 message May 6, 2005

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 kernel/sched.c: remove two unused functions

This patch removes the unused functions wait_for_completion_timeout and wait_for_completion_interruptible_timeout.

Is any usage for them planned or is this patch OK?

---

 include/linux/completion.h |    4 --
 kernel/sched.c             |   66 -------------------------------------
 2 files changed, 70 deletions(-)
include/linux/completion.h renamed from include/linux/completion.h.old +0 -4
@@ -29,10 +29,6 @@
 
 extern void FASTCALL(wait_for_completion(struct completion *));
 extern int FASTCALL(wait_for_completion_interruptible(struct completion *x));
-extern unsigned long FASTCALL(wait_for_completion_timeout(struct completion *x,
-						   unsigned long timeout));
-extern unsigned long FASTCALL(wait_for_completion_interruptible_timeout(
-			struct completion *x, unsigned long timeout));
 
 extern void FASTCALL(complete(struct completion *));
 extern void FASTCALL(complete_all(struct completion *));
kernel/sched.c renamed from kernel/sched.c.old +0 -66

78 lines not on this page · raw message