s390/extmem: remove unused variable
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 7 Dec 2015 11:52:20 +0000 (12:52 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:29 +0000 (14:59 +0100)
findseg_scode 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/mm/extmem.c

index 18fccc3..a1bf4ad 100644 (file)
@@ -94,7 +94,7 @@ static DEFINE_MUTEX(dcss_lock);
 static LIST_HEAD(dcss_list);
 static char *segtype_string[] = { "SW", "EW", "SR", "ER", "SN", "EN", "SC",
                                        "EW/EN-MIXED" };
-static int loadshr_scode, loadnsr_scode, findseg_scode;
+static int loadshr_scode, loadnsr_scode;
 static int segext_scode, purgeseg_scode;
 static int scode_set;
 
@@ -130,7 +130,6 @@ dcss_set_subcodes(void)
                loadshr_scode = DCSS_LOADSHRX;
                loadnsr_scode = DCSS_LOADNSRX;
                purgeseg_scode = DCSS_PURGESEG;
-               findseg_scode = DCSS_FINDSEGX;
                segext_scode = DCSS_SEGEXTX;
                return 0;
        }
@@ -138,7 +137,6 @@ dcss_set_subcodes(void)
        loadshr_scode = DCSS_LOADNOLY;
        loadnsr_scode = DCSS_LOADNSR;
        purgeseg_scode = DCSS_PURGESEG;
-       findseg_scode = DCSS_FINDSEG;
        segext_scode = DCSS_SEGEXT;
        return 0;
 }