From: Rickard Strandqvist Date: Sun, 21 Dec 2014 17:18:22 +0000 (+0100) Subject: dmaengine: imx-dma.c: Remove unused function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9265eaed9ca8bc0c24d90f9bd18b15d33465dca5;p=linux-beck.git dmaengine: imx-dma.c: Remove unused function Remove the function is_imx21_dma() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index 10bbc0a675b0..0c4d35da1502 100644 --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/imx-dma.c @@ -230,11 +230,6 @@ static inline int is_imx1_dma(struct imxdma_engine *imxdma) return imxdma->devtype == IMX1_DMA; } -static inline int is_imx21_dma(struct imxdma_engine *imxdma) -{ - return imxdma->devtype == IMX21_DMA; -} - static inline int is_imx27_dma(struct imxdma_engine *imxdma) { return imxdma->devtype == IMX27_DMA;