* [PATCH] dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function
@ 2026-07-26 10:24 Vladimir Zapolskiy
2026-07-27 15:07 ` Frank Li
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Zapolskiy @ 2026-07-26 10:24 UTC (permalink / raw)
To: Sascha Hauer, Fabio Estevam, Frank Li, Vinod Koul
Cc: Pengutronix Kernel Team, dmaengine, imx, linux-arm-kernel
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.
Signed-off-by: Vladimir Zapolskiy <vz@kernel.org>
---
include/linux/dma/imx-dma.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/dma/imx-dma.h b/include/linux/dma/imx-dma.h
index 76a8de9ae151..16e491f63883 100644
--- a/include/linux/dma/imx-dma.h
+++ b/include/linux/dma/imx-dma.h
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function
2026-07-26 10:24 [PATCH] dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function Vladimir Zapolskiy
@ 2026-07-27 15:07 ` Frank Li
0 siblings, 0 replies; 2+ messages in thread
From: Frank Li @ 2026-07-27 15:07 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Sascha Hauer, Fabio Estevam, Frank Li, Vinod Koul,
Pengutronix Kernel Team, dmaengine, imx, linux-arm-kernel
On Sun, Jul 26, 2026 at 01:24:24PM +0300, Vladimir Zapolskiy wrote:
> 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.
>
> Signed-off-by: Vladimir Zapolskiy <vz@kernel.org>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> include/linux/dma/imx-dma.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/include/linux/dma/imx-dma.h b/include/linux/dma/imx-dma.h
> index 76a8de9ae151..16e491f63883 100644
> --- a/include/linux/dma/imx-dma.h
> +++ b/include/linux/dma/imx-dma.h
> @@ -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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-27 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-26 10:24 [PATCH] dmaengine: imx-sdma: Remove unused imx_dma_is_ipu() inline function Vladimir Zapolskiy
2026-07-27 15:07 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox