diff options
author | Mark Brown <broonie@kernel.org> | 2021-05-11 09:06:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-11 09:06:00 +0100 |
commit | 3b8fb1f7702be9dcc50443b5822cb409a31280a3 (patch) | |
tree | bb250d9f3d8981c3d3bc3c0b5ca269aa4d5482da /sound/soc/fsl | |
parent | b748ad38041a9a7ab2ab1cb9f8ad24271d1de9c4 (diff) | |
parent | cccc16dc175eafa2dec98002dde35d19ace0a696 (diff) | |
download | linux-3b8fb1f7702be9dcc50443b5822cb409a31280a3.tar.bz2 |
Merge series "ASoC: cppcheck fixes of the week" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
While running some checks on a rebased branch, I realized I missed a
couple of trivial cases on newer code.
Pierre-Louis Bossart (4):
ASoC: codecs: mt6359-accdet: remove useless initialization
ASoc: codecs: mt6359: remove useless initializations
ASoC: codecs: rt1019: clarify expression
ASoC: fsl: imx-pcm-rpmsg: remove useless initialization
sound/soc/codecs/mt6359-accdet.c | 2 +-
sound/soc/codecs/mt6359.c | 2 +-
sound/soc/codecs/rt1019.c | 4 ++--
sound/soc/fsl/imx-pcm-rpmsg.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
--
2.25.1
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/imx-pcm-rpmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-rpmsg.c b/sound/soc/fsl/imx-pcm-rpmsg.c index 3f5913adbfb0..6d6c44cf3451 100644 --- a/sound/soc/fsl/imx-pcm-rpmsg.c +++ b/sound/soc/fsl/imx-pcm-rpmsg.c @@ -544,7 +544,7 @@ static int imx_rpmsg_pcm_ack(struct snd_soc_component *component, struct rpmsg_msg *msg; unsigned long flags; int buffer_tail = 0; - int written_num = 0; + int written_num; if (!rpmsg->force_lpa) return 0; |