From: Jeff Garzik Date: Tue, 23 Oct 2007 22:36:42 +0000 (-0400) Subject: eexpress: fix !SMP unused-var warning X-Git-Tag: v2.6.24-rc1~14^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6f7329d594174f177e5990d24e141954101a1c;p=linux-2.6 eexpress: fix !SMP unused-var warning Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 9c85e50014..70509ed6c1 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