Commit 1148a9f2 authored by Luiz Capitulino's avatar Luiz Capitulino Committed by Linus Torvalds

[PATCH] fix drivers/net/cs89x0.c warning.

drivers/net/cs89x0.c: In function `net_close':
drivers/net/cs89x0.c:1601: warning: unused variable `lp'

 'lp'is only used when ALLOW_DMA is defined.
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@conectiva.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c2f6aa61
......@@ -1598,7 +1598,9 @@ static void release_dma_buff(struct net_local *lp)
static int
net_close(struct net_device *dev)
{
#if ALLOW_DMA
struct net_local *lp = netdev_priv(dev);
#endif
netif_stop_queue(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment