summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/traps.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-12-07 10:03:30 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 13:59:27 (GMT)
commitf9101e639cf7e707b9a379737ea1b66a16e82097 (patch)
treee83114a50bc45c2e421d9ae49dd16ec66c148e65 /arch/s390/kernel/traps.c
parent6527f6e0cb6a14c3938140f609d2fde59f4299fc (diff)
downloadlinux-f9101e639cf7e707b9a379737ea1b66a16e82097.tar.xz
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/kernel/traps.c')
-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 1b18118..d69d648 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;