]> git.sur5r.net Git - u-boot/commitdiff
Fix compile warning in net/eth.c
authorRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 19:15:14 +0000 (20:15 +0100)
committerRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 19:32:38 +0000 (20:32 +0100)
Signed-off-by: Remy Bohmer <linux@bohmer.net>
net/eth.c

index cec0387891280530ebdadec14de146d442e224cf..3a7ff50bf3905c1602f4ab3ea705ebb7a2bfbf7d 100644 (file)
--- a/net/eth.c
+++ b/net/eth.c
@@ -453,7 +453,7 @@ int eth_receive(volatile void *packet, int length)
 void eth_try_another(int first_restart)
 {
        static struct eth_device *first_failed = NULL;
-       char *ethrotate, *act;
+       char *ethrotate;
 
        /*
         * Do not rotate between network interfaces when