diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-18 10:26:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-19 12:57:06 +0100 |
commit | 20cf7e3ce3083593e163849ae6ba95525f2366ca (patch) | |
tree | 07937c467a2043a264af6d25bdf1e9db106384da /sound/soc/qcom/lpass-lpaif-reg.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | blackbird-obmc-linux-20cf7e3ce3083593e163849ae6ba95525f2366ca.tar.gz blackbird-obmc-linux-20cf7e3ce3083593e163849ae6ba95525f2366ca.zip |
ASoC: qcom: remove duplicate initializations of dma_ch and v
dma_ch is being initialized to zero and then immediately afterwards
being updated again, so the first initialization is redundant and
can be remove.
Likewise, the pointer v is being initialized twice, so remove the second
duplicate initialization.
Cleans up two clang build warnings:
warning: Value stored to 'dma_ch' is never read
warning: Value stored to 'v' during its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-lpaif-reg.h')
0 files changed, 0 insertions, 0 deletions