projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dacc76
)
gianfar: remove unused DECLARE_MAC_BUF
author
Johannes Berg
<johannes@sipsolutions.net>
Wed, 15 Jul 2009 18:31:10 +0000
(11:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Jul 2009 18:31:10 +0000
(11:31 -0700)
The use of it was converted to %pM, but the variable
stuck -- remove it now to not cause spurious warnings.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/gianfar.c
b/drivers/net/gianfar.c
index 4ae1d259fced7d6525a6818a1c641db5d1cf3850..21f5b0af78c92d7395be99ec2acb8e8de643a64e 100644
(file)
--- a/
drivers/net/gianfar.c
+++ b/
drivers/net/gianfar.c
@@
-304,7
+304,6
@@
static int gfar_probe(struct of_device *ofdev,
u32 tempval;
struct net_device *dev = NULL;
struct gfar_private *priv = NULL;
- DECLARE_MAC_BUF(mac);
int err = 0;
int len_devname;