diff options
| author | 2025-05-21 19:13:31 -0400 | |
|---|---|---|
| committer | 2025-06-26 15:33:22 -0700 | |
| commit | 8c2442663f683f4fabadb3c491821169da6c89a8 (patch) | |
| tree | 92738dea0bbfdc003d6ace5812abe7716328cf1f /tools/perf/scripts/python/flamegraph.py | |
| parent | dmaengine: mmp: Fix again Wvoid-pointer-to-enum-cast warning (diff) | |
| download | wireguard-linux-8c2442663f683f4fabadb3c491821169da6c89a8.tar.xz wireguard-linux-8c2442663f683f4fabadb3c491821169da6c89a8.zip | |
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 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
