diff options
author | Joel Hestness ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <jthestness@gmail.com> | 2013-06-24 06:57:06 -0500 |
---|---|---|
committer | Joel Hestness ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <jthestness@gmail.com> | 2013-06-24 06:57:06 -0500 |
commit | 71c6c4311060fb2bc8711188a37f5b6b1a035654 (patch) | |
tree | 66f35e1d3db8403a86ff93c1007e62eec2569adc /src/mem/protocol/MI_example-cache.sm | |
parent | 94280c7e512d5f4c7dbaefc8e387b9255c9ba9f7 (diff) | |
download | gem5-71c6c4311060fb2bc8711188a37f5b6b1a035654.tar.xz |
ruby: MessageBuffer: Remove unused m_size variable
The m_size variable attempted to track m_prio_heap.size(), but it did so
incorrectly due to the functions reanalyzeMessages and reanalyzeAllMessages().
Since this variable is intended to track m_prio_heap.size(), we can simply
replace instances where m_size is referenced with m_prio_heap.size(), which
has the added bonus of removing the need for m_size.
Note: This patch also removes an extraneous DPRINTF format string designator
from reanalyzeAllMessages()
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/mem/protocol/MI_example-cache.sm')
0 files changed, 0 insertions, 0 deletions