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

[Xen-changelog] [linux-2.6.18-xen] x86: drop pointless initializer from smp_trap_init()


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
  • Date: Wed, 02 Jul 2014 13:11:03 +0000
  • Delivery-date: Wed, 02 Jul 2014 13:11:14 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1404306558 -7200
# Node ID 19448506c371bd071312f55055e81043fc4a4e78
# Parent  930d1b2ecc2f6a145a6f95e25db8cb54a366eb69
x86: drop pointless initializer from smp_trap_init()

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r 930d1b2ecc2f -r 19448506c371 arch/i386/kernel/traps-xen.c
--- a/arch/i386/kernel/traps-xen.c      Wed Jul 02 15:04:09 2014 +0200
+++ b/arch/i386/kernel/traps-xen.c      Wed Jul 02 15:09:18 2014 +0200
@@ -1158,7 +1158,7 @@ void __init trap_init(void)
 
 void __cpuinit smp_trap_init(trap_info_t *trap_ctxt)
 {
-       const trap_info_t *t = trap_table;
+       const trap_info_t *t;
 
        for (t = trap_table; t->address; t++) {
                trap_ctxt[t->vector].flags = t->flags;
diff -r 930d1b2ecc2f -r 19448506c371 arch/x86_64/kernel/traps-xen.c
--- a/arch/x86_64/kernel/traps-xen.c    Wed Jul 02 15:04:09 2014 +0200
+++ b/arch/x86_64/kernel/traps-xen.c    Wed Jul 02 15:09:18 2014 +0200
@@ -1132,7 +1132,7 @@ void __init trap_init(void)
 
 void __cpuinit smp_trap_init(trap_info_t *trap_ctxt)
 {
-       const trap_info_t *t = trap_table;
+       const trap_info_t *t;
 
        for (t = trap_table; t->address; t++) {
                trap_ctxt[t->vector].flags = t->flags;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.