[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZCbR30KbAouGwicz@matsya>
Date: Fri, 31 Mar 2023 17:58:15 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Tom Rix <trix@...hat.com>
Cc: gustavo.pimentel@...opsys.com, nathan@...nel.org,
ndesaulniers@...gle.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] dmaengine: dw-edma: remove unused readq_ch and writeq_ch
functions
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
Powered by blists - more mailing lists