summaryrefslogtreecommitdiff
path: root/src/mem/tport.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-10 17:24:03 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-10 17:24:03 -0400
commit549412b33361629b03d9d85dac3bb3efa2f07baf (patch)
tree03995c9f63fafe5483716f96c8fc78a71e3360d0 /src/mem/tport.cc
parent5f9aca531d348bdc90585c41dcf9bf33201cc6cf (diff)
downloadgem5-549412b33361629b03d9d85dac3bb3efa2f07baf.tar.xz
Changed the bus to use a bool to keep track of retries rather than a pointer
src/mem/tport.cc: minor formatting tweak --HG-- extra : convert_revision : 7391d142815c5876fcc0f991bd053e6a1781c101
Diffstat (limited to 'src/mem/tport.cc')
-rw-r--r--src/mem/tport.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc
index 66811b820..528067170 100644
--- a/src/mem/tport.cc
+++ b/src/mem/tport.cc
@@ -79,8 +79,7 @@ SimpleTimingPort::SendEvent::process()
assert(port->outTiming >= 0);
if (port->transmitList.size()) {
port->transmitList.push_back(packet);
- }
- else if (port->sendTiming(packet)) {
+ } else if (port->sendTiming(packet)) {
// send successful
if (port->transmitList.size() == 0 && port->drainEvent) {
port->drainEvent->process();