linux/sound/soc/amd/renoir
Jiapeng Chong 2fa74b31bb
ASoC: amd: renoir: Remove redundant assignment to pdm_ctrl and pdm_enable and pdm_dma_enable
Variable pdm_ctrl and pdm_enable and pdm_dma_enable are set to '0x00',
but they are overwritten later on, so these are redundant assignments
that can be removed.

Clean up the following clang-analyzer warning:

sound/soc/amd/renoir/acp3x-pdm-dma.c:148:2: warning: Value stored to
'pdm_dma_enable' is never read [clang-analyzer-deadcode.DeadStores].

sound/soc/amd/renoir/acp3x-pdm-dma.c:147:2: warning: Value stored to
'pdm_enable' is never read [clang-analyzer-deadcode.DeadStores].

sound/soc/amd/renoir/acp3x-pdm-dma.c:80:2: warning: Value stored to
'pdm_ctrl' is never read [clang-analyzer-deadcode.DeadStores].

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1620298590-29749-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-05-10 13:05:32 +01:00
..
acp3x-pdm-dma.c ASoC: amd: renoir: Remove redundant assignment to pdm_ctrl and pdm_enable and pdm_dma_enable 2021-05-10 13:05:32 +01:00
acp3x-rn.c ASoC: amd: RN machine driver using dmic 2020-05-19 13:45:36 +01:00
Makefile AsoC: amd: add missing snd- module prefix to the acp3x-rn driver kernel module 2020-06-25 15:06:56 +01:00
rn_acp3x.h ASoC: amd: add logic to check dmic hardware runtime 2020-07-03 17:33:45 +01:00
rn_chip_offset_byte.h ASoC: amd: add Renoir ACP3x IP register header 2020-05-19 13:45:25 +01:00
rn-pci-acp3x.c ASoC: amd: renoir: remove invalid kernel-doc comment 2021-03-10 13:10:41 +00:00