[PATCH 0/2] ASoC: qdsp6: cppcheck warnings

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Aug 9 14:31:35 CEST 2021


cppcheck throws below two warnings in qdsp6 code due to unnecessary initialization
of variables

q6asm.c:1631: (style) Variable 'port' is reassigned a value before the
    old one has been used.

q6adm.c:475]: (style) Variable 'matrix_map' is reassigned a value before the
    old one has been used.

These series fixes it by removing those unnecessary initializations

Srinivas Kandagatla (2):
  ASoC: qdsp6: q6asm: fix cppcheck warnings for unnecessary
    initialization
  ASoC: qdsp6: q6adm: fix cppcheck warnings for unnecessary
    initialization

 sound/soc/qcom/qdsp6/q6adm.c | 2 +-
 sound/soc/qcom/qdsp6/q6asm.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.21.0



More information about the Alsa-devel mailing list