diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2007-11-14 17:01:29 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 18:45:47 -0800 |
commit | 3eed6393644c960e2343db7dabec08c775d3738f (patch) | |
tree | e5a59c75654ba31b4b495e2ef213a56edd3b7e18 /drivers/net/cris | |
parent | ebd33e11c3bef555573510d8677d626ebaa1eccd (diff) | |
download | linux-stable-3eed6393644c960e2343db7dabec08c775d3738f.tar.gz linux-stable-3eed6393644c960e2343db7dabec08c775d3738f.tar.bz2 linux-stable-3eed6393644c960e2343db7dabec08c775d3738f.zip |
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>
Diffstat (limited to 'drivers/net/cris')
-rw-r--r-- | drivers/net/cris/eth_v10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 5dc984a3e005..917b7b46f1a7 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c @@ -630,7 +630,7 @@ e100_set_mac_address(struct net_device *dev, void *p) { struct net_local *np = netdev_priv(dev); struct sockaddr *addr = p; - int i; + DECLARE_MAC_BUF(mac); spin_lock(&np->lock); /* preemption protection */ |