diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-10-23 18:49:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-23 21:40:22 +0300 |
commit | 91e174fc04b1975b0e4d431a7020779635ff7c05 (patch) | |
tree | 9ffc41ccfe2cad96860ae47983ff6e494a4e9123 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7790bccd7bac3af28bf044e188215041eb142d56 (diff) | |
download | linux-91e174fc04b1975b0e4d431a7020779635ff7c05.tar.xz |
ASoC: codecs: rt298: remove redundant assignment to d_len_code
Variable d_len_code is being initialized to zero and then re-assigned a
different value in all the valid cases in the following switch statement.
The only place it is not being assigned a value is on the return for
a default case and in this case it does not need to be assigned. The
initialization is redundant and can be removed.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20231023154917.671595-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions