OpenCloudOS-Kernel/sound/soc/qcom
Yang Li 5f1b95d08d
ASoC: q6dsp: q6afe: remove unneeded dead-store initialization
Variables 'wait' and 'port_id' are being initialized, however the
values are never read and updated later on, hence the redundant
initializations can be removed.

Cleans up clang warnings:
sound/soc/qcom/qdsp6/q6afe.c:933:21: warning: Value stored to 'wait'
during its initialization is never read
sound/soc/qcom/qdsp6/q6afe.c:1186:6: warning: Value stored to 'port_id'
during its initialization is never read

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619345553-29781-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-05-10 13:05:35 +01:00
..
qdsp6 ASoC: q6dsp: q6afe: remove unneeded dead-store initialization 2021-05-10 13:05:35 +01:00
Kconfig ASoC: qcom: fix QDSP6 dependencies, attempt #3 2020-12-04 23:26:37 +00:00
Makefile ASoC: qcom: sc7180: Add machine driver for sound card registration 2020-10-27 14:05:46 +00:00
apq8016_sbc.c ASoC: qcom: mark OF related data as maybe unused 2020-11-26 13:07:06 +00:00
apq8096.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
common.c ASoC: qcom: common: Fix refcounting in qcom_snd_parse_of() 2020-11-10 17:28:25 +00:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
lpass-apq8016.c ASoC: qcom: lpass: Fix i2s ctl register bit map 2021-02-05 17:16:40 +00:00
lpass-cpu.c ALSA: control - add generic LED API 2021-03-31 17:16:14 +01:00
lpass-hdmi.c ASoC: qcom: lpass-hdmi: remove useless return 2021-03-10 13:01:49 +00:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field 2021-01-20 16:46:47 +00:00
lpass-lpaif-reg.h ASoC: qcom: lpass-cpu: Remove bit clock state check 2021-01-28 17:11:30 +00:00
lpass-platform.c ASoC: qcom: lpass-platform: remove useless assignment 2021-03-10 13:01:50 +00:00
lpass-sc7180.c ASoC: qcom: Fix typo error in HDMI regmap config callbacks 2021-02-02 17:28:10 +00:00
lpass.h ASoC: qcom: lpass-cpu: Remove bit clock state check 2021-01-28 17:11:30 +00:00
sc7180.c ASoC: qcom: sc7180: fix 32 bit format for adau7002 2020-11-27 14:50:17 +00:00
sdm845.c ASoC: qcom: sdm845: Fix array out of range on rx slim channels 2021-03-10 12:51:10 +00:00
sm8250.c ASoC: qcom: sm8250: fix HDMI audio playback 2020-11-20 16:08:38 +00:00
storm.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00