dmaengine: pch_dma: remove unused function chan2parent
authorColin Ian King <colin.i.king@gmail.com>
Fri, 8 Mar 2024 13:47:50 +0000 (13:47 +0000)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Apr 2024 13:06:58 +0000 (18:36 +0530)
commit4665be0e952f68306cc6fba2cce68b940a7ec78c
tree88ae6b3e1cca5100f2005ccd79d5431b0cf6aaac
parentebf850697a9daa9f59b902ea1e547079d426618b
dmaengine: pch_dma: remove unused function chan2parent

The helper function chan2parent is not used and has never been
used since the first commit to the code back in 2010. The function
is redundant and can be removed.

Cleans up clang scan build warning:
drivers/dma/pch_dma.c:158:30: warning: unused function 'chan2parent' [-Wunused-function]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240308134750.2058556-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pch_dma.c