Message ID | 1617270816-36400-1-git-send-email-jiapeng.chong@linux.alibaba.com |
---|---|
State | Accepted |
Commit | ee1bf567c90df6fd04a3c31acb0995cb13f62c48 |
Headers | show |
Series | dmaengine: qcom_hidma: remove unused code | expand |
On 01-04-21, 17:53, Jiapeng Chong wrote: > Fix the following clang warning: > > drivers/dma/qcom/hidma.c:94:20: warning: unused function 'to_hidma_desc' > [-Wunused-function]. Applied, thanks -- ~Vinod
Hello: This patch was applied to qcom/linux.git (refs/heads/for-next): On Thu, 1 Apr 2021 17:53:36 +0800 you wrote: > Fix the following clang warning: > > drivers/dma/qcom/hidma.c:94:20: warning: unused function 'to_hidma_desc' > [-Wunused-function]. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > > [...] Here is the summary with links: - dmaengine: qcom_hidma: remove unused code https://git.kernel.org/qcom/c/ee1bf567c90d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/dma/qcom/hidma.c b/drivers/dma/qcom/hidma.c index 6c0f9eb..23d6448 100644 --- a/drivers/dma/qcom/hidma.c +++ b/drivers/dma/qcom/hidma.c @@ -90,12 +90,6 @@ static inline struct hidma_chan *to_hidma_chan(struct dma_chan *dmach) return container_of(dmach, struct hidma_chan, chan); } -static inline -struct hidma_desc *to_hidma_desc(struct dma_async_tx_descriptor *t) -{ - return container_of(t, struct hidma_desc, desc); -} - static void hidma_free(struct hidma_dev *dmadev) { INIT_LIST_HEAD(&dmadev->ddev.channels);
Fix the following clang warning: drivers/dma/qcom/hidma.c:94:20: warning: unused function 'to_hidma_desc' [-Wunused-function]. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- drivers/dma/qcom/hidma.c | 6 ------ 1 file changed, 6 deletions(-)