summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-12-07 11:03:30 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 14:59:27 +0100
commitf9101e639cf7e707b9a379737ea1b66a16e82097 (patch)
treee83114a50bc45c2e421d9ae49dd16ec66c148e65 /arch/s390
parents390: compile head.S always with -march=z900 (diff)
downloadlinux-f9101e639cf7e707b9a379737ea1b66a16e82097.tar.xz
linux-f9101e639cf7e707b9a379737ea1b66a16e82097.zip
s390/traps: Remove unused variable
location is assigned but never used. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/traps.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c
index 1b18118bbc06..d69d648759c9 100644
--- a/arch/s390/kernel/traps.c
+++ b/arch/s390/kernel/traps.c
@@ -260,11 +260,8 @@ void vector_exception(struct pt_regs *regs)
void data_exception(struct pt_regs *regs)
{
- __u16 __user *location;
int signal = 0;
- location = get_trap_ip(regs);
-
save_fpu_regs();
if (current->thread.fpu.fpc & FPC_DXC_MASK)
signal = SIGFPE;