dma: remove unused variable

this patch removes the actionInProgress field from the DmaPort class.
this variable is only defined and initiated in the ctor. it is never used.
This commit is contained in:
Anthony Gutierrez 2012-07-27 16:08:05 -04:00
parent 8133f2460f
commit 630068be6f
2 changed files with 1 additions and 4 deletions

View file

@ -49,7 +49,7 @@
DmaPort::DmaPort(MemObject *dev, System *s, Tick min_backoff, Tick max_backoff)
: MasterPort(dev->name() + ".dma", dev), device(dev), sys(s),
masterId(s->getMasterId(dev->name())),
pendingCount(0), actionInProgress(0), drainEvent(NULL),
pendingCount(0), drainEvent(NULL),
backoffTime(0), minBackoffDelay(min_backoff),
maxBackoffDelay(max_backoff), inRetry(false),
backoffEvent(this)

View file

@ -83,9 +83,6 @@ class DmaPort : public MasterPort
/** Number of outstanding packets the dma port has. */
int pendingCount;
/** If a dmaAction is in progress. */
int actionInProgress;
/** If we need to drain, keep the drain event around until we're done
* here.*/
Event *drainEvent;