projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bdf590
)
eexpress: fix !SMP unused-var warning
author
Jeff Garzik
<jeff@garzik.org>
Tue, 23 Oct 2007 22:36:42 +0000
(18:36 -0400)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 24 Oct 2007 01:28:39 +0000
(21:28 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/eexpress.c
patch
|
blob
|
history
diff --git
a/drivers/net/eexpress.c
b/drivers/net/eexpress.c
index 9c85e50014b469a11a96de418b49d77d07258efd..70509ed6c11de9a77cc5cbe14bc86859e136e363 100644
(file)
--- a/
drivers/net/eexpress.c
+++ b/
drivers/net/eexpress.c
@@
-651,9
+651,9
@@
static void eexp_timeout(struct net_device *dev)
*/
static int eexp_xmit(struct sk_buff *buf, struct net_device *dev)
{
- struct net_local *lp = netdev_priv(dev);
short length = buf->len;
#ifdef CONFIG_SMP
+ struct net_local *lp = netdev_priv(dev);
unsigned long flags;
#endif