* [U-Boot] [PATCH] net: altera_tse: Zap unused variable
@ 2015-09-04 9:50 Marek Vasut
2015-09-04 13:27 ` Thomas Chou
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-09-04 9:50 UTC (permalink / raw)
To: u-boot
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>
---
drivers/net/altera_tse.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index c4fd6ec..ad3bd1e 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) {
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot] [PATCH] net: altera_tse: Zap unused variable
2015-09-04 9:50 [U-Boot] [PATCH] net: altera_tse: Zap unused variable Marek Vasut
@ 2015-09-04 13:27 ` Thomas Chou
2015-09-04 14:10 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Chou @ 2015-09-04 13:27 UTC (permalink / raw)
To: u-boot
Hi Marek,
On 09/04/2015 05:50 PM, Marek Vasut wrote:
> 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>
> ---
> drivers/net/altera_tse.c | 2 --
> 1 file changed, 2 deletions(-)
Tested-by: Thomas Chou <thomas@wytron.com.tw>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: altera_tse: Zap unused variable
2015-09-04 13:27 ` Thomas Chou
@ 2015-09-04 14:10 ` Marek Vasut
0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-09-04 14:10 UTC (permalink / raw)
To: u-boot
On Friday, September 04, 2015 at 03:27:37 PM, Thomas Chou wrote:
> Hi Marek,
Hi,
> On 09/04/2015 05:50 PM, Marek Vasut wrote:
> > 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>
> > ---
> >
> > drivers/net/altera_tse.c | 2 --
> > 1 file changed, 2 deletions(-)
>
> Tested-by: Thomas Chou <thomas@wytron.com.tw>
Applied to u-boot-socfpga/master , it's a cleanup afterall.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-04 14:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-04 9:50 [U-Boot] [PATCH] net: altera_tse: Zap unused variable Marek Vasut
2015-09-04 13:27 ` Thomas Chou
2015-09-04 14:10 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox