ruby: dma sequencer: removes redundant code
authorBrandon Potter <brandon.potter@amd.com>
Fri, 24 Jul 2015 19:25:22 +0000 (12:25 -0700)
committerBrandon Potter <brandon.potter@amd.com>
Fri, 24 Jul 2015 19:25:22 +0000 (12:25 -0700)
src/mem/ruby/system/DMASequencer.cc

index 7f12fda4c281509557167a8db4157a92a17f302c..49e986d766092abb538054fe5e291f3653dfa2fb 100644 (file)
@@ -299,9 +299,6 @@ DMASequencer::issueNext()
         msg->getDataBlk().
             setData(&active_request.data[active_request.bytes_completed],
                     0, msg->getLen());
-        msg->getType() = SequencerRequestType_ST;
-    } else {
-        msg->getType() = SequencerRequestType_LD;
     }
 
     assert(m_mandatory_q_ptr != NULL);