diff options
author | Pierre-Louis Bossart <[email protected]> | 2020-11-11 15:43:17 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-12 15:15:53 +0000 |
commit | 17f6433192d858e49a40d1fa939bf61cc493a3b7 (patch) | |
tree | 8224ff8b8ef338025d5f7c90adb1bca121690490 /lib/mpi/mpi-bit.c | |
parent | 4a55000722d74e4ad1ea4700a423e21fab0d53ba (diff) |
ASoC: rt711: remove warnings
cppcheck complains, use separate loop variable for sink and source ports
sound/soc/codecs/rt711-sdw.c:382:4: style: Variable 'i' is reassigned
a value before the old one has been used. [redundantAssignment]
i = 0;
^
sound/soc/codecs/rt711-sdw.c:371:4: note: i is assigned
i++;
^
sound/soc/codecs/rt711-sdw.c:382:4: note: i is overwritten
i = 0;
^
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions