提交 9265eaed 编写于 作者: R Rickard Strandqvist 提交者: Vinod Koul

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: NRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 abf538ae
...@@ -230,11 +230,6 @@ static inline int is_imx1_dma(struct imxdma_engine *imxdma) ...@@ -230,11 +230,6 @@ static inline int is_imx1_dma(struct imxdma_engine *imxdma)
return imxdma->devtype == IMX1_DMA; 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) static inline int is_imx27_dma(struct imxdma_engine *imxdma)
{ {
return imxdma->devtype == IMX27_DMA; return imxdma->devtype == IMX27_DMA;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册