x86/signal: Change return type of restore_sigcontext() to boolean
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Sep 2021 13:29:35 +0000 (15:29 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 14 Sep 2021 19:10:03 +0000 (21:10 +0200)
commitee4ecdfbd28954086a09740dc931c10c93e39370
treedf121524127ba1ec61f722646c22226857593028
parent2af07f3a6e9fb81331421ca24b26a96180d792dd
x86/signal: Change return type of restore_sigcontext() to boolean

None of the call sites cares about the return code. All they are interested
in is success or fail.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132525.851280949@linutronix.de
arch/x86/ia32/ia32_signal.c
arch/x86/kernel/signal.c