dmaengine: dw-edma: remove unused readq_ch and writeq_ch functions
authorTom Rix <trix@redhat.com>
Mon, 20 Mar 2023 23:49:06 +0000 (19:49 -0400)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 12:27:49 +0000 (17:57 +0530)
commitd77c4502d6238bbfed7cb9422748477839d506f2
tree18d030dd015158caa1e0a151930b83e6b2e68cc5
parent3366c6fe2769fe653107626b3273e03156d9cac8
dmaengine: dw-edma: remove unused readq_ch and writeq_ch functions

clang with W=1 reports
drivers/dma/dw-edma/dw-edma-v0-core.c:162:20: error:
  unused function 'writeq_ch' [-Werror,-Wunused-function]
static inline void writeq_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch,
                   ^
drivers/dma/dw-edma/dw-edma-v0-core.c:185:19: error:
  unused function 'readq_ch' [-Werror,-Wunused-function]
static inline u64 readq_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch,
                  ^
These functions and their wrapping macros are not used, so remove them.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230320234906.1730308-1-trix@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-edma/dw-edma-v0-core.c