summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-10-16 22:22:17 -0700
committerNathan Binkert <nate@binkert.org>2008-10-16 22:22:17 -0700
commit81f5da1e89c94fb0e4e56c80cad77561163d85d8 (patch)
treed9b55b748d472a9e05de49d71c81d8d150d50ff2 /src/arch/x86
parent5b07448cf12460090af588b332e813af3419d645 (diff)
downloadgem5-81f5da1e89c94fb0e4e56c80cad77561163d85d8.tar.xz
get rid of local variable that's only used in an assert so fast compiles
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/interrupts.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc
index bbc651378..bfb4d5b9c 100644
--- a/src/arch/x86/interrupts.cc
+++ b/src/arch/x86/interrupts.cc
@@ -294,10 +294,9 @@ X86ISA::Interrupts::recvMessage(PacketPtr pkt)
case 0:
{
TriggerIntMessage message = pkt->get<TriggerIntMessage>();
- uint8_t vector = message.vector;
DPRINTF(LocalApic,
"Got Trigger Interrupt message with vector %#x.\n",
- vector);
+ message.vector);
// Make sure we're really supposed to get this.
assert((message.destMode == 0 && message.destination == id) ||
(bits((int)message.destination, id)));