diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-23 22:36:42 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-24 01:28:39 (GMT) |
commit | 0e6f7329d594174f177e5990d24e141954101a1c (patch) | |
tree | 74f003490ed6ec277c9c499e851248e52d1bb701 /drivers/net/eexpress.c | |
parent | 3bdf590eac36ac5930deb9552febee3ff18cd2d1 (diff) | |
download | linux-fsl-qoriq-0e6f7329d594174f177e5990d24e141954101a1c.tar.xz |
eexpress: fix !SMP unused-var warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/eexpress.c')
-rw-r--r-- | drivers/net/eexpress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 9c85e50..70509ed 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 |