summaryrefslogtreecommitdiff
path: root/src/dev/arm/energy_ctrl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/energy_ctrl.cc')
-rw-r--r--src/dev/arm/energy_ctrl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dev/arm/energy_ctrl.cc b/src/dev/arm/energy_ctrl.cc
index cbfa5aa79..b77eaba3b 100644
--- a/src/dev/arm/energy_ctrl.cc
+++ b/src/dev/arm/energy_ctrl.cc
@@ -64,7 +64,6 @@ EnergyCtrl::read(PacketPtr pkt)
{
assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize);
assert(pkt->getSize() == 4);
- pkt->allocate();
Addr daddr = pkt->getAddr() - pioAddr;
assert((daddr & 3) == 0);