aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-02-08 08:38:18 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-02-08 12:52:25 -0500
commit40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f (patch)
treea73e16545a2653c5737526f44e77752425d27430 /arch/mips/kernel/signal.c
parent7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b (diff)
[MIPS] Make do_signal return void.
It's return value is ignored everywhere. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r--arch/mips/kernel/signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index 86a14d7b8534..c974cc9b30eb 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -410,7 +410,7 @@ static inline int handle_signal(unsigned long sig, siginfo_t *info,
410 return ret; 410 return ret;
411} 411}
412 412
413int do_signal(struct pt_regs *regs) 413void do_signal(struct pt_regs *regs)
414{ 414{
415 struct k_sigaction ka; 415 struct k_sigaction ka;
416 sigset_t *oldset; 416 sigset_t *oldset;
@@ -423,7 +423,7 @@ int do_signal(struct pt_regs *regs)
423 * if so. 423 * if so.
424 */ 424 */
425 if (!user_mode(regs)) 425 if (!user_mode(regs))
426 return 1; 426 return;
427 427
428 if (try_to_freeze()) 428 if (try_to_freeze())
429 goto no_signal; 429 goto no_signal;
@@ -477,8 +477,6 @@ no_signal:
477 clear_thread_flag(TIF_RESTORE_SIGMASK); 477 clear_thread_flag(TIF_RESTORE_SIGMASK);
478 sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL); 478 sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
479 } 479 }
480
481 return 0;
482} 480}
483 481
484/* 482/*