summaryrefslogtreecommitdiff
path: root/src/dev/io_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/io_device.cc')
-rw-r--r--src/dev/io_device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/io_device.cc b/src/dev/io_device.cc
index b86a2d313..41fcec8ac 100644
--- a/src/dev/io_device.cc
+++ b/src/dev/io_device.cc
@@ -190,9 +190,9 @@ void
DmaPort::recvRetry()
{
assert(transmitList.size());
- PacketPtr pkt = transmitList.front();
bool result = true;
do {
+ PacketPtr pkt = transmitList.front();
DPRINTF(DMA, "Retry on %s addr %#x\n",
pkt->cmdString(), pkt->getAddr());
result = sendTiming(pkt);