summaryrefslogtreecommitdiff
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-12-07 13:08:48 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 14:59:30 +0100
commite527aec434b59745654d3b34a3aa7ce3392a85a5 (patch)
treebdadef4e40d8558312c89d199fd87a4dcb503ad0 /arch/s390/kernel
parent90f405e859840abe1ebf64a836a61e300c11e1c9 (diff)
s390/sysinfo: Remove unused variables
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>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/sysinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/sysinfo.c b/arch/s390/kernel/sysinfo.c
index 99babea026ca..efacda2fc568 100644
--- a/arch/s390/kernel/sysinfo.c
+++ b/arch/s390/kernel/sysinfo.c
@@ -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)