From 35fc157baf56db846afaeb5c730fa47e351cf0d2 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Wed, 29 Sep 2010 23:10:47 -0400 Subject: m68k: Resetting sa_handler in local copy of k_sigaction is pointless ... and had been such since the introduction of get_signal_to_deliver() Signed-off-by: Al Viro Signed-off-by: Geert Uytterhoeven --- arch/m68k/kernel/signal.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch') diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c index 4b387538706f..c776c813d856 100644 --- a/arch/m68k/kernel/signal.c +++ b/arch/m68k/kernel/signal.c @@ -1006,9 +1006,6 @@ handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info, else setup_frame(sig, ka, oldset, regs); - if (ka->sa.sa_flags & SA_ONESHOT) - ka->sa.sa_handler = SIG_DFL; - sigorsets(¤t->blocked,¤t->blocked,&ka->sa.sa_mask); if (!(ka->sa.sa_flags & SA_NODEFER)) sigaddset(¤t->blocked,sig); -- cgit v1.2.3