summaryrefslogtreecommitdiff
path: root/src/base/cprintf.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2015-02-11 10:48:53 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2015-02-11 10:48:53 -0800
commite57ab463cff5df095fbd10ef046436a20dbb8f3a (patch)
tree58ec9fa8f4d21b152e7353c019f0498a2d8cc8e8 /src/base/cprintf.hh
parent89bb03a1a6e56f5bef3e94240e8edf818e667a45 (diff)
downloadgem5-e57ab463cff5df095fbd10ef046436a20dbb8f3a.tar.xz
mem: remove redundant test in in Cache::recvTimingResp()
For some reason we were checking mshr->hasTargets() even though we had already called mshr->getTarget() unconditionally earlier in the same function (which asserts if there are no targets). Get rid of this useless check, and while we're at it get rid of the redundant call to mshr->getTarget(), since we still have the value saved in a local var.
Diffstat (limited to 'src/base/cprintf.hh')
0 files changed, 0 insertions, 0 deletions