From: Ali Saidi Date: Thu, 12 Jan 2012 00:24:13 +0000 (-0500) Subject: Packet: Remove meaningless assert statement X-Git-Tag: stable_2012_06_28~275^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc1c21274e8c3559fe4bd8b8622f1f2afe1efd9b;p=gem5.git Packet: Remove meaningless assert statement --- 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() + func_offset; uint8_t *src = data + val_offset;