From bc1c21274e8c3559fe4bd8b8622f1f2afe1efd9b Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 11 Jan 2012 19:24:13 -0500 Subject: [PATCH] Packet: Remove meaningless assert statement --- src/mem/packet.cc | 2 -- 1 file changed, 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() + func_offset; uint8_t *src = data + val_offset; -- 2.30.2