From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: Re: [PATCH 4/4] signals: kill force_sig_specific() Date: Mon, 5 Oct 2009 11:04:28 -0700 Message-ID: <20091005180428.GD30442@us.ibm.com> References: <4AC608BE.9020805@fr.ibm.com> <20091003171029.GA30442@us.ibm.com> <20091004021844.GA21006@redhat.com> <20091004022050.GE21006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20091004022050.GE21006-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oleg Nesterov Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Containers , Andrew Morton , Daniel Lezcano , roland-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: containers.vger.kernel.org Oleg Nesterov [oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org] wrote: | Kill force_sig_specific(), this trivial wrapper has no callers. | | Signed-off-by: Oleg Nesterov Reviewed-by: Sukadev Bhattiprolu | --- | | include/linux/sched.h | 1 - | kernel/signal.c | 6 ------ | 2 files changed, 7 deletions(-) | | --- TTT_32/include/linux/sched.h~4_KILL_force_sig_specific 2009-10-04 02:21:49.000000000 +0200 | +++ TTT_32/include/linux/sched.h 2009-10-04 04:08:01.000000000 +0200 | @@ -2062,7 +2062,6 @@ extern int kill_proc_info(int, struct si | extern int do_notify_parent(struct task_struct *, int); | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); | extern void force_sig(int, struct task_struct *); | -extern void force_sig_specific(int, struct task_struct *); | extern int send_sig(int, struct task_struct *, int); | extern void zap_other_threads(struct task_struct *p); | extern struct sigqueue *sigqueue_alloc(void); | --- TTT_32/kernel/signal.c~4_KILL_force_sig_specific 2009-10-04 03:48:48.000000000 +0200 | +++ TTT_32/kernel/signal.c 2009-10-04 04:08:36.000000000 +0200 | @@ -1032,12 +1032,6 @@ force_sig_info(int sig, struct siginfo * | return ret; | } | | -void | -force_sig_specific(int sig, struct task_struct *t) | -{ | - force_sig_info(sig, SEND_SIG_FORCED, t); | -} | - | /* | * Nuke all other threads in the group. | */ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754434AbZJESEu (ORCPT ); Mon, 5 Oct 2009 14:04:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754424AbZJESEt (ORCPT ); Mon, 5 Oct 2009 14:04:49 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:59595 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754374AbZJESEt (ORCPT ); Mon, 5 Oct 2009 14:04:49 -0400 Date: Mon, 5 Oct 2009 11:04:28 -0700 From: Sukadev Bhattiprolu To: Oleg Nesterov Cc: Andrew Morton , Daniel Lezcano , Sukadev Bhattiprolu , Linux Containers , roland@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] signals: kill force_sig_specific() Message-ID: <20091005180428.GD30442@us.ibm.com> References: <4AC608BE.9020805@fr.ibm.com> <20091003171029.GA30442@us.ibm.com> <20091004021844.GA21006@redhat.com> <20091004022050.GE21006@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091004022050.GE21006@redhat.com> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oleg Nesterov [oleg@redhat.com] wrote: | Kill force_sig_specific(), this trivial wrapper has no callers. | | Signed-off-by: Oleg Nesterov Reviewed-by: Sukadev Bhattiprolu | --- | | include/linux/sched.h | 1 - | kernel/signal.c | 6 ------ | 2 files changed, 7 deletions(-) | | --- TTT_32/include/linux/sched.h~4_KILL_force_sig_specific 2009-10-04 02:21:49.000000000 +0200 | +++ TTT_32/include/linux/sched.h 2009-10-04 04:08:01.000000000 +0200 | @@ -2062,7 +2062,6 @@ extern int kill_proc_info(int, struct si | extern int do_notify_parent(struct task_struct *, int); | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); | extern void force_sig(int, struct task_struct *); | -extern void force_sig_specific(int, struct task_struct *); | extern int send_sig(int, struct task_struct *, int); | extern void zap_other_threads(struct task_struct *p); | extern struct sigqueue *sigqueue_alloc(void); | --- TTT_32/kernel/signal.c~4_KILL_force_sig_specific 2009-10-04 03:48:48.000000000 +0200 | +++ TTT_32/kernel/signal.c 2009-10-04 04:08:36.000000000 +0200 | @@ -1032,12 +1032,6 @@ force_sig_info(int sig, struct siginfo * | return ret; | } | | -void | -force_sig_specific(int sig, struct task_struct *t) | -{ | - force_sig_info(sig, SEND_SIG_FORCED, t); | -} | - | /* | * Nuke all other threads in the group. | */