eexpress: fix !SMP unused-var warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
3bdf590eac
commit
0e6f7329d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue