diff options
| author | Vladimir Zapolskiy <vz@kernel.org> | 2026-07-26 13:24:24 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-09-03 22:24:47 +0530 |
| commit | be9bb4b4a3c4611ecfbe3d785894a09d331c6f25 (patch) | |
| tree | 1775e0e33752d88486872252fe977c7357582148 /include/linux/dma/imx-dma.h | |
| parent | d2d5b3dbd97e50261c1ad6a5f0eb09963f421848 (diff) | |
| download | linux-next-be9bb4b4a3c4611ecfbe3d785894a09d331c6f25.tar.gz linux-next-be9bb4b4a3c4611ecfbe3d785894a09d331c6f25.zip | |
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.
Signed-off-by: Vladimir Zapolskiy <vz@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260726102424.547951-1-vz@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/dma/imx-dma.h')
| -rw-r--r-- | include/linux/dma/imx-dma.h | 5 |
1 files changed, 0 insertions, 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") || |
