summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-04-13 20:40:10 +0200
committerRichard Weinberger <richard@nod.at>2015-04-13 20:40:10 +0200
commit97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce (patch)
treee950a55b083e34969e204f5351749a69f22b95e5 /arch/arm64
parent720d70716d137c0cb83b9a5279c384286c02a1c0 (diff)
downloadlinux-97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce.tar.gz
linux-97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce.tar.bz2
linux-97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce.zip
arm64: Removed unused variable
arch/arm64/kernel/signal.c: In function ‘handle_signal’: arch/arm64/kernel/signal.c:290:22: warning: unused variable ‘thread’ [-Wunused-variable] Fixes: arm64: Remove signal translation and exec_domain Reported-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/signal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index 9f28eaa97123..e18c48cb6db1 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -287,7 +287,6 @@ static void setup_restart_syscall(struct pt_regs *regs)
*/
static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
{
- struct thread_info *thread = current_thread_info();
struct task_struct *tsk = current;
sigset_t *oldset = sigmask_to_save();
int usig = ksig->sig;