Review Board 2.0.15


cache: remove redundant test in recvTimingResp()

Review Request #2651 - Created Feb. 8, 2015 and submitted

Information
Steve Reinhardt
gem5
default
Reviewers
Default
Changeset 10686:7fc1f2b733cf
---------------------------
cache: remove redundant test in 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.

   
Review request changed
Updated (March 14, 2015, 6:54 a.m.)

Status: Closed (submitted)