s390/traps: Remove unused variable
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 7 Dec 2015 10:03:30 +0000 (11:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:27 +0000 (14:59 +0100)
location is assigned but never used.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/traps.c

index 1b18118bbc06bbe58f846343198dc84fb5ec04b5..d69d648759c9f926ae91771cef6a8cc291ee403e 100644 (file)
@@ -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;