s390/nmi: remove unused code

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens
2017-11-14 14:50:38 +01:00
parent 2be1da8d4d
commit a6de0a91d9

View File

@@ -191,7 +191,6 @@ static int notrace s390_check_registers(union mci mci, int umode)
{ {
union ctlreg2 cr2; union ctlreg2 cr2;
int kill_task; int kill_task;
void *fpt_save_area;
kill_task = 0; kill_task = 0;
@@ -224,7 +223,6 @@ static int notrace s390_check_registers(union mci mci, int umode)
if (!test_cpu_flag(CIF_FPU)) if (!test_cpu_flag(CIF_FPU))
kill_task = 1; kill_task = 1;
} }
fpt_save_area = &S390_lowcore.floating_pt_save_area;
if (!mci.fc) { if (!mci.fc) {
/* /*
* Floating point control register can't be restored. * Floating point control register can't be restored.