Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Remove unused variabe (I reverted too much ...



details:   https://anonhg.NetBSD.org/src/rev/e66ae54b3755
branches:  trunk
changeset: 824301:e66ae54b3755
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed May 31 10:15:18 2017 +0000

description:
Remove unused variabe (I reverted too much in previous commit!)

diffstat:

 sys/arch/x86/x86/cpu.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 73ff870f4a8e -r e66ae54b3755 sys/arch/x86/x86/cpu.c
--- a/sys/arch/x86/x86/cpu.c    Wed May 31 10:08:24 2017 +0000
+++ b/sys/arch/x86/x86/cpu.c    Wed May 31 10:15:18 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.127 2017/05/31 10:08:24 pgoyette Exp $       */
+/*     $NetBSD: cpu.c,v 1.128 2017/05/31 10:15:18 pgoyette Exp $       */
 
 /*-
  * Copyright (c) 2000-2012 NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.127 2017/05/31 10:08:24 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.128 2017/05/31 10:15:18 pgoyette Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mpbios.h"                /* for MPDEBUG */
@@ -802,7 +802,6 @@
 {
        struct cpu_info *ci = (struct cpu_info *)v;
        struct pcb *pcb;
-       int s;
 
        cpu_init_msrs(ci, true);
        cpu_probe(ci);



Home | Main Index | Thread Index | Old Index