]> err.no Git - linux-2.6/commitdiff
eexpress: fix !SMP unused-var warning
authorJeff Garzik <jeff@garzik.org>
Tue, 23 Oct 2007 22:36:42 +0000 (18:36 -0400)
committerJeff 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

index 9c85e50014b469a11a96de418b49d77d07258efd..70509ed6c11de9a77cc5cbe14bc86859e136e363 100644 (file)
@@ -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