* [PATCH] dmaengine: qcom_hidma: remove unused code
@ 2021-04-01 9:53 Jiapeng Chong
2021-04-12 11:44 ` Vinod Koul
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
0 siblings, 2 replies; 3+ messages in thread
From: Jiapeng Chong @ 2021-04-01 9:53 UTC (permalink / raw)
To: okaya
Cc: agross, bjorn.andersson, vkoul, linux-arm-kernel, linux-arm-msm,
dmaengine, linux-kernel, Jiapeng Chong
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(-)
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);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dmaengine: qcom_hidma: remove unused code
2021-04-01 9:53 [PATCH] dmaengine: qcom_hidma: remove unused code Jiapeng Chong
@ 2021-04-12 11:44 ` Vinod Koul
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2021-04-12 11:44 UTC (permalink / raw)
To: Jiapeng Chong
Cc: okaya, agross, bjorn.andersson, linux-arm-kernel, linux-arm-msm,
dmaengine, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dmaengine: qcom_hidma: remove unused code
2021-04-01 9:53 [PATCH] dmaengine: qcom_hidma: remove unused code Jiapeng Chong
2021-04-12 11:44 ` Vinod Koul
@ 2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-05-26 19:03 UTC (permalink / raw)
To: Jiapeng Chong; +Cc: linux-arm-msm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-26 19:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 9:53 [PATCH] dmaengine: qcom_hidma: remove unused code Jiapeng Chong
2021-04-12 11:44 ` Vinod Koul
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).