summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/packet.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/packet.cc b/src/mem/packet.cc
index 57d85af8a..aefaf975d 100644
--- a/src/mem/packet.cc
+++ b/src/mem/packet.cc
@@ -287,8 +287,6 @@ Packet::checkFunctional(Printable *obj, Addr addr, int size, uint8_t *data)
}
}
- assert((bytesValidStart >= 0) && (bytesValidEnd <= getSize()));
-
// copy partial data into the packet's data array
uint8_t *dest = getPtr<uint8_t>() + func_offset;
uint8_t *src = data + val_offset;