CRISv10 Ethernet declare mac fix

Declare mac using DECLARE_MAC_BUF for use when calling print_mac().

This fixes compile error where mac was undeclared.
Also, remove unused variable i.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Jesper Nilsson and committed by Linus Torvalds 3eed6393 ebd33e11

+1 -1
+1 -1
drivers/net/cris/eth_v10.c
··· 630 630 { 631 631 struct net_local *np = netdev_priv(dev); 632 632 struct sockaddr *addr = p; 633 - int i; 633 + DECLARE_MAC_BUF(mac); 634 634 635 635 spin_lock(&np->lock); /* preemption protection */ 636 636