diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-12-15 19:47:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 10:20:09 -0500 |
commit | ad09750b51150ca87531b8790a379214a974c167 (patch) | |
tree | 785520da252e18a058642c7bc95dda35100e4565 | |
parent | 7486e5d9fc773cb67c29381567bed5236fc9573c (diff) |
signals: kill force_sig_specific()
Kill force_sig_specific(), this trivial wrapper has no callers.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | kernel/signal.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 57b3516f055b..244c287a5ac1 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2083,7 +2083,6 @@ extern int kill_proc_info(int, struct siginfo *, pid_t); | |||
2083 | extern int do_notify_parent(struct task_struct *, int); | 2083 | extern int do_notify_parent(struct task_struct *, int); |
2084 | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); | 2084 | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); |
2085 | extern void force_sig(int, struct task_struct *); | 2085 | extern void force_sig(int, struct task_struct *); |
2086 | extern void force_sig_specific(int, struct task_struct *); | ||
2087 | extern int send_sig(int, struct task_struct *, int); | 2086 | extern int send_sig(int, struct task_struct *, int); |
2088 | extern void zap_other_threads(struct task_struct *p); | 2087 | extern void zap_other_threads(struct task_struct *p); |
2089 | extern struct sigqueue *sigqueue_alloc(void); | 2088 | extern struct sigqueue *sigqueue_alloc(void); |
diff --git a/kernel/signal.c b/kernel/signal.c index d7c7f3cd4da8..4a9d763f8922 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1062,12 +1062,6 @@ force_sig_info(int sig, struct siginfo *info, struct task_struct *t) | |||
1062 | return ret; | 1062 | return ret; |
1063 | } | 1063 | } |
1064 | 1064 | ||
1065 | void | ||
1066 | force_sig_specific(int sig, struct task_struct *t) | ||
1067 | { | ||
1068 | force_sig_info(sig, SEND_SIG_FORCED, t); | ||
1069 | } | ||
1070 | |||
1071 | /* | 1065 | /* |
1072 | * Nuke all other threads in the group. | 1066 | * Nuke all other threads in the group. |
1073 | */ | 1067 | */ |