dmaengine: imx-dma.c: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 21 Dec 2014 17:18:22 +0000 (18:18 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 15:34:16 +0000 (21:04 +0530)
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-dma.c

index 10bbc0a675b07c7c31c9359409babd4809a9ff4e..0c4d35da15021b8226fe3c06a57d56ddfa97420e 100644 (file)
@@ -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;
This page took 0.025099 seconds and 5 git commands to generate.