diff options
author | Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> | 2025-05-21 19:13:31 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-06-26 15:33:22 -0700 |
commit | 8c2442663f683f4fabadb3c491821169da6c89a8 (patch) | |
tree | 92738dea0bbfdc003d6ace5812abe7716328cf1f /scripts/lib/kdoc/kdoc_parser.py | |
parent | a0b1589b62e2fcfb112996e0f4d5593bd2edf069 (diff) |
dmaengine: idxd: Fix warning for deadcode.deadstore
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;
| ^~~ ~~~~~~~~~~~~~~~~
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20250521231331.889204-1-anil.s.keshavamurthy@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions