diff --git a/net/eth.c b/net/eth.c
index cec0387891280530ebdadec14de146d442e224cf..3a7ff50bf3905c1602f4ab3ea705ebb7a2bfbf7d 100644
--- 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