diff options
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index c48ff59cf..efb0b002e 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -645,8 +645,9 @@ Sequencer::makeRequest(PacketPtr pkt) void Sequencer::issueRequest(PacketPtr pkt, RubyRequestType secondary_type) { + assert(pkt != NULL); int proc_id = -1; - if (pkt != NULL && pkt->req->hasContextId()) { + if (pkt->req->hasContextId()) { proc_id = pkt->req->contextId(); } |