dmaengine: tegra-apb: remove unused tdma_read function
authorTom Rix <trix@redhat.com>
Wed, 22 Mar 2023 12:10:01 +0000 (08:10 -0400)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 12:21:15 +0000 (17:51 +0530)
commita747051efa16d4304aacaf44fa0771667e28ca54
treeebb9e789c637248883006ee9018885c892d39a4a
parentf806bea3093cb3568e01b4375d5e1d7c8c47c1d4
dmaengine: tegra-apb: remove unused tdma_read function

clang with W=1 reports
drivers/dma/tegra20-apb-dma.c:236:19: error: unused function
  'tdma_read' [-Werror,-Wunused-function]
static inline u32 tdma_read(struct tegra_dma *tdma, u32 reg)
                  ^
This function is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230322121001.2569909-1-trix@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c