Commit 52845c3f authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Jeff Garzik

cs89x0: fix warning release_irq label

release_irq label is only used when ALLOW_DMA is defined.

drivers/net/cs89x0.c: In function 'net_open':
drivers/net/cs89x0.c:1401: warning: label 'release_irq' defined but not used
Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent e57b641d
...@@ -1397,9 +1397,7 @@ net_open(struct net_device *dev) ...@@ -1397,9 +1397,7 @@ net_open(struct net_device *dev)
release_dma: release_dma:
#if ALLOW_DMA #if ALLOW_DMA
free_dma(dev->dma); free_dma(dev->dma);
#endif
release_irq: release_irq:
#if ALLOW_DMA
release_dma_buff(lp); release_dma_buff(lp);
#endif #endif
writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) & ~(SERIAL_TX_ON | SERIAL_RX_ON)); writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) & ~(SERIAL_TX_ON | SERIAL_RX_ON));
......
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