summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2012-01-11 19:24:13 -0500
committerAli Saidi <saidi@eecs.umich.edu>2012-01-11 19:24:13 -0500
commitbc1c21274e8c3559fe4bd8b8622f1f2afe1efd9b (patch)
tree2d5f5de3a140613a83f1f86982ce6acbe581be9a /src
parentc57dc3ffcbc2ff0991a92ec3db562649d6e24a30 (diff)
downloadgem5-bc1c21274e8c3559fe4bd8b8622f1f2afe1efd9b.tar.xz
Packet: Remove meaningless assert statement
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;