Packet: Remove meaningless assert statement

This commit is contained in:
Ali Saidi
2012-01-11 19:24:13 -05:00
parent c57dc3ffcb
commit bc1c21274e

View 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;