Skip to content

Commit

Permalink
dmaengine: imx-dma.c: Remove unused function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rickard Strandqvist authored and Vinod Koul committed Dec 22, 2014
1 parent abf538a commit 9265eae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/dma/imx-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9265eae

Please sign in to comment.