Skip to content

Commit

Permalink
eexpress: fix !SMP unused-var warning
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Jeff Garzik committed Oct 24, 2007
1 parent 3bdf590 commit 0e6f732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/eexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0e6f732

Please sign in to comment.