From: Yoichi Yuasa Date: Mon, 25 Aug 2008 14:37:36 +0000 (+0900) Subject: cs89x0: fix warning release_irq label X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52845c3fd80c09f8ceac54513ae9cffac219cff7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jeff Garzik --- 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));