diff options
| author | 2022-06-14 19:47:59 +0100 | |
|---|---|---|
| committer | 2022-07-01 22:09:16 +0530 | |
| commit | 9bef4929fa21477d44b4934d02296c4d0126dd40 (patch) | |
| tree | 8e14b43ef41218d58e6ab4e1d417f779933b2e13 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | dmaengine: mediatek: mtk-hsdma: Fix typo in comment (diff) | |
| download | linux-dev-9bef4929fa21477d44b4934d02296c4d0126dd40.tar.xz linux-dev-9bef4929fa21477d44b4934d02296c4d0126dd40.zip | |
dmaengine: fsl-edma: remove redundant assignment to pointer last_sg
The pointer last_sg is being assigned a value at the start of a loop
however it is never read and is being re-assigned later on in both
brances of an if-statement. The assignment is redundant and can be
removed.
Cleans up clang scan-build warning:
drivers/dma/fsl-edma-common.c:563:3: warning: Value stored to 'last_sg'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220614184759.164379-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
