diff options
| author | Jiapeng Chong <[email protected]> | 2021-05-06 10:58:55 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-05-10 16:06:05 +0000 |
| commit | 1d122dd3b168f55e2e29982cff80f1c15f66ef26 (patch) | |
| tree | 135840aa952cdcf1c50394e690eaa4c939b2788c /sound/soc/codecs/lpass-wsa-macro.c | |
| parent | ASoC: jz4740-i2s: fix function name (diff) | |
| download | kernel-1d122dd3b168f55e2e29982cff80f1c15f66ef26.tar.gz kernel-1d122dd3b168f55e2e29982cff80f1c15f66ef26.zip | |
ASoC: rt286: Remove redundant assignment to d_len_code
Variable d_len_code is set to zero, but this value is never read as
it is overwritten or not used later on, hence it is a redundant
assignment and can be removed.
Clean up the following clang-analyzer warning:
sound/soc/codecs/rt286.c:728:2: warning: Value stored to 'd_len_code' is
never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Link: https://lore.kernel.org/r/1620298735-31708-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-wsa-macro.c')
0 files changed, 0 insertions, 0 deletions
