Packet: Remove meaningless assert statement
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 12 Jan 2012 00:24:13 +0000 (19:24 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 12 Jan 2012 00:24:13 +0000 (19:24 -0500)
src/mem/packet.cc

index 57d85af8a4965f8f24f859c1361e5d5da251c80f..aefaf975d9a6c18212cc6a4704dcef31f5221580 100644 (file)
@@ -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;