]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
s390/sysinfo: Remove unused variables
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 7 Dec 2015 12:08:48 +0000 (13:08 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:30 +0000 (14:59 +0100)
max_mnest and rc are never used.

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

index 99babea026ca09e3c4c9c61a2871f09b0369fcb9..efacda2fc56839f8813a8c67500412759bc2d920 100644 (file)
@@ -111,8 +111,7 @@ static void stsi_1_1_1(struct seq_file *m, struct sysinfo_1_1_1 *info)
 
 static void stsi_15_1_x(struct seq_file *m, struct sysinfo_15_1_x *info)
 {
-       static int max_mnest;
-       int i, rc;
+       int i;
 
        seq_putc(m, '\n');
        if (!MACHINE_HAS_TOPOLOGY)