Re: [PATCH] dmaengine: dw-edma: remove unused readq_ch and writeq_ch functions

From: Vinod Koul
Date: Fri Mar 31 2023 - 08:28:38 EST


On 20-03-23, 19:49, Tom Rix wrote:
> 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.

Applied, thanks

--
~Vinod