summaryrefslogtreecommitdiffstats
path: root/drivers/net/cs89x0.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2008-08-25 16:37:36 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-25 00:49:04 +0200
commit52845c3fd80c09f8ceac54513ae9cffac219cff7 (patch)
treec6428acab931f4d4dbca02d1db77a4c5c8098226 /drivers/net/cs89x0.c
parent[netdrvr/usb] hso_create_bulk_serial_device(): fix a double free (diff)
downloadlinux-52845c3fd80c09f8ceac54513ae9cffac219cff7.tar.xz
linux-52845c3fd80c09f8ceac54513ae9cffac219cff7.zip
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: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/cs89x0.c')
-rw-r--r--drivers/net/cs89x0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
index ea6144a9565e..b0b66766ed27 100644
--- a/drivers/net/cs89x0.c
+++ b/drivers/net/cs89x0.c
@@ -1397,9 +1397,7 @@ net_open(struct net_device *dev)
release_dma:
#if ALLOW_DMA
free_dma(dev->dma);
-#endif
release_irq:
-#if ALLOW_DMA
release_dma_buff(lp);
#endif
writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) & ~(SERIAL_TX_ON | SERIAL_RX_ON));