summaryrefslogtreecommitdiffstats
path: root/drivers/net/eexpress.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 18:57:22 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 18:57:22 -0700
commitd8581969904b8a72db726c4b9090234c0f0bb18f (patch)
tree784f83eaf9cd302729f67a18dc32f5bf6cb03a77 /drivers/net/eexpress.c
parent5a0e554b62dc77709ceebb6326b292bdd8d2c342 (diff)
parente0f13920d6a082d85e21a1b4c02907446198fc36 (diff)
downloadlinux-d8581969904b8a72db726c4b9090234c0f0bb18f.tar.bz2
Merge branch 'warnings' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'warnings' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6: ni5010: kill unused variable eexpress: fix !SMP unused-var warning cgroup: kill unused variable
Diffstat (limited to 'drivers/net/eexpress.c')
-rw-r--r--drivers/net/eexpress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c
index 9c85e50014b4..70509ed6c11d 100644
--- 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