From 630068be6f7b6dc5c612867c764c37e41fd90a4a Mon Sep 17 00:00:00 2001 From: Anthony Gutierrez Date: Fri, 27 Jul 2012 16:08:05 -0400 Subject: 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. --- src/dev/dma_device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev/dma_device.cc') diff --git a/src/dev/dma_device.cc b/src/dev/dma_device.cc index a50dd933e..ddc8e7386 100644 --- a/src/dev/dma_device.cc +++ b/src/dev/dma_device.cc @@ -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) -- cgit v1.2.3