提交 0e6f7329 编写于 作者: J Jeff Garzik

eexpress: fix !SMP unused-var warning

Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 3bdf590e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册