diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-06-27 14:46:35 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2009-06-27 15:16:16 +0200 |
commit | c6067472252c1d6155c7c01c93e0d580342cdb29 (patch) | |
tree | 985a0fdf5342bc6e73245bb4553e64e404cd9e48 /arch/score/kernel/signal.c | |
parent | bddc605955bca2d914ca621a7ef4ca6c271f55d8 (diff) | |
download | op-kernel-dev-c6067472252c1d6155c7c01c93e0d580342cdb29.zip op-kernel-dev-c6067472252c1d6155c7c01c93e0d580342cdb29.tar.gz |
score: cleanups: dead code, 0 as pointer, shadowed variables
A few smaller issues found by sparse, some code that was
never used, two instances of '0' instead of 'NULL' and
local variables shadowing another one.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/score/kernel/signal.c')
-rw-r--r-- | arch/score/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/score/kernel/signal.c b/arch/score/kernel/signal.c index afbfe33..950f87c 100644 --- a/arch/score/kernel/signal.c +++ b/arch/score/kernel/signal.c @@ -212,7 +212,7 @@ static int setup_rt_frame(struct k_sigaction *ka, struct pt_regs *regs, err |= copy_siginfo_to_user(&frame->rs_info, info); err |= __put_user(0, &frame->rs_uc.uc_flags); - err |= __put_user(0, &frame->rs_uc.uc_link); + err |= __put_user(NULL, &frame->rs_uc.uc_link); err |= __put_user((void __user *)current->sas_ss_sp, &frame->rs_uc.uc_stack.ss_sp); err |= __put_user(sas_ss_flags(regs->regs[0]), |