summaryrefslogtreecommitdiff
path: root/src/dev/pcidev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/pcidev.cc')
-rw-r--r--src/dev/pcidev.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc
index 232aa9e8b..715b67603 100644
--- a/src/dev/pcidev.cc
+++ b/src/dev/pcidev.cc
@@ -294,10 +294,6 @@ PciDevice::readConfig(PacketPtr pkt)
panic("Out-of-range access to PCI config space!\n");
}
-
-
- pkt->allocate();
-
switch (pkt->getSize()) {
case sizeof(uint8_t):
pkt->set<uint8_t>(config.data[offset]);