dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function
Subsystems (2)
PATCH 1/1 dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function
The last user of the inline helper function imx_dma_is_ipu() was removed by commit bfac19e239a7 ("fbdev: mx3fb: Remove the driver") a few years ago, and this helper also can be safely removed.
--- include/linux/dma/imx-dma.h | 5 ----- 1 file changed, 5 deletions(-)
include/linux/dma/imx-dma.h +0 -5
@@ -57,11 +57,6 @@ struct imx_dma_data {int priority; }; -static inline int imx_dma_is_ipu (struct dma_chan *chan) -{ -return !strcmp (dev_name (chan->device->dev),"ipu-core" ); -} -static inline int imx_dma_is_general_purpose (struct dma_chan *chan) { return !strcmp(chan->device->dev->driver->name, "imx-sdma") ||
Signature · 1 line
2.51.0
Quoted 6 lines · Vladimir Zapolskiy
The last user of the inline helper function
imx_dma_is_ipu()was removed by commitbfac19e239a7("fbdev: mx3fb: Remove the driver") a few years ago, and this helper also can be safely removed.Signed-off-by Vladimir Zapolskiy <[email protected]>---
Quoted 22 lines
include/linux/dma/imx-dma.h | 5 ----- 1 file changed, 5 deletions(-)include/linux/dma/imx-dma.h +0
-6@@ -57,11 +57,6 @@ struct imx_dma_data {int priority; }; -static inline int imx_dma_is_ipu (struct dma_chan *chan) -{ -return !strcmp (dev_name (chan->device->dev),"ipu-core" ); -} -static inline int imx_dma_is_general_purpose (struct dma_chan *chan) { return !strcmp(chan->device->dev->driver->name, "imx-sdma") || --2.51.0
Quoted 5 lines · Vladimir Zapolskiy
The last user of the inline helper function
imx_dma_is_ipu()was removed by commitbfac19e239a7("fbdev: mx3fb: Remove the driver") a few years ago, and this helper also can be safely removed.
Applied, thanks!
[1/1] dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function
commit: be9bb4b4a3c4611ecfbe3d785894a09d331c6f25
Best regards,
Signature · 1 line
~Vinod