projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57dc3f
)
Packet: Remove meaningless assert statement
author
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 12 Jan 2012 00:24:13 +0000
(19:24 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 12 Jan 2012 00:24:13 +0000
(19:24 -0500)
src/mem/packet.cc
patch
|
blob
|
history
diff --git
a/src/mem/packet.cc
b/src/mem/packet.cc
index 57d85af8a4965f8f24f859c1361e5d5da251c80f..aefaf975d9a6c18212cc6a4704dcef31f5221580 100644
(file)
--- 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;