summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-09-04 11:50:28 +0200
committerMarek Vasut <marex@denx.de>2015-09-04 16:09:44 +0200
commita7ed0ac2620b00c6eb85227f3c66bc169ad11f44 (patch)
tree4f4871fd5ecb885e6afd0cadc574b1d175add55c /drivers
parent55c7a765f63ab10b9a3b8cbd38bf1483901a7b36 (diff)
net: altera_tse: Zap unused variable
Zap variable which is set but never used. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/altera_tse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index c4fd6ec2e9..ad3bd1e212 100644
--- a/drivers/net/altera_tse.c
+++ b/drivers/net/altera_tse.c
@@ -182,12 +182,10 @@ static int alt_sgdma_do_sync_transfer(volatile struct alt_sgdma_registers *dev,
static int alt_sgdma_do_async_transfer(volatile struct alt_sgdma_registers *dev,
volatile struct alt_sgdma_descriptor *desc)
{
- unsigned int status;
int counter = 0;
/* Wait for any pending transfers to complete */
alt_sgdma_print_desc(desc);
- status = dev->status;
counter = 0;
while (dev->status & ALT_SGDMA_STATUS_BUSY_MSK) {