lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 21 Dec 2014 18:18:22 +0100
From:	Rickard Strandqvist <>
To:	Vinod Koul <>,
	Dan Williams <>
Cc:	Rickard Strandqvist <>,
	Grant Likely <>,
	Rob Herring <>,,,
Subject: [PATCH] dma: 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 <>
 drivers/dma/imx-dma.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index 9d2c9e7..af1e643 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;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists