diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-12-21 12:18:22 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-12-22 10:34:16 -0500 |
commit | 9265eaed9ca8bc0c24d90f9bd18b15d33465dca5 (patch) | |
tree | ee1ac8722a420b4d8b45523834c2f7f96f5d14f4 | |
parent | abf538ae0374ea827ac5fd51bf2a5184c50afd53 (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/imx-dma.c | 5 |
1 files changed, 0 insertions, 5 deletions
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) | |||
230 | return imxdma->devtype == IMX1_DMA; | 230 | return imxdma->devtype == IMX1_DMA; |
231 | } | 231 | } |
232 | 232 | ||
233 | static inline int is_imx21_dma(struct imxdma_engine *imxdma) | ||
234 | { | ||
235 | return imxdma->devtype == IMX21_DMA; | ||
236 | } | ||
237 | |||
238 | static inline int is_imx27_dma(struct imxdma_engine *imxdma) | 233 | static inline int is_imx27_dma(struct imxdma_engine *imxdma) |
239 | { | 234 | { |
240 | return imxdma->devtype == IMX27_DMA; | 235 | return imxdma->devtype == IMX27_DMA; |