[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175097809088.79884.9986625120938692414.b4-ty@kernel.org>
Date: Thu, 26 Jun 2025 15:48:10 -0700
From: Vinod Koul <vkoul@...nel.org>
To: dave.jiang@...el.com, vinicius.gomes@...el.com, fenghuay@...dia.com,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Fix warning for deadcode.deadstore
On Wed, 21 May 2025 19:13:31 -0400, Anil S Keshavamurthy wrote:
> Deletes the second initialization as the value stored to 'dev' during
> its initialization (struct device *dev = &idxd->pdev->dev;) is
> sufficient.
>
> ../drivers/dma/idxd/init.c:988:17: warning: Value stored to 'dev' during
> its initialization is never read [deadcode.DeadStores]
> 988 | struct device *dev = &idxd->pdev->dev;
> | ^~~ ~~~~~~~~~~~~~~~~
>
> [...]
Applied, thanks!
[1/1] dmaengine: idxd: Fix warning for deadcode.deadstore
commit: 8c2442663f683f4fabadb3c491821169da6c89a8
Best regards,
--
~Vinod
Powered by blists - more mailing lists