ASoC: bcm: cygnus-pcm: Unneeded variable: "ret".
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 9 Jul 2019 18:42:37 +0000 (00:12 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:26:00 +0000 (13:26 +0100)
commite1fb714bddf452ef0ecf67c420957438977f107d
treec1b972ba2bffbe583db7a9f6c53efa35a9a67d6c
parent1d3dd532883be6167da5df6117efd6d4e8790456
ASoC: bcm: cygnus-pcm: Unneeded variable: "ret".

This patch fixes below issues reported by coccicheck

sound/soc/bcm/cygnus-pcm.c:642:5-8: Unneeded variable: "ret". Return "0"
on line 650
sound/soc/bcm/cygnus-pcm.c:671:5-8: Unneeded variable: "ret". Return "0"
on line 696

We cannot change return type of these functions as they are callback
functions of snd_pcm_ops

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/20190709184236.GA7873@hari-Inspiron-1545
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/cygnus-pcm.c