diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-05-06 18:58:55 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-05-10 17:06:05 +0100 |
| commit | 1d122dd3b168f55e2e29982cff80f1c15f66ef26 (patch) | |
| tree | 135840aa952cdcf1c50394e690eaa4c939b2788c /lib/mpi/mpi-cmp.c | |
| parent | 16f2a3cdaacaa7c077e238df45e4d38d6bc0a6c5 (diff) | |
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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1620298735-31708-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
