]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wcd9335: remove redundant use of ret variable
authorSaiyam Doshi <saiyamdoshi.in@gmail.com>
Mon, 9 Sep 2019 17:45:41 +0000 (23:15 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 11 Sep 2019 10:16:05 +0000 (11:16 +0100)
commit119e3caf03058200135ac661b91f30d8920b5eb8
tree0501c6d812db8251940d85e882f74d9b846cab8b
parente6edf992f3a0fece45777c88fa86ccfcb4772932
ASoC: wcd9335: remove redundant use of ret variable

All these functions declares and initializes variable ret with
'0' and without modifying 'ret' variable, it is returned.

This patch removes this redundancy and returns '0' directly.

Signed-off-by: Saiyam Doshi <saiyamdoshi.in@gmail.com>
Link: https://lore.kernel.org/r/20190909174541.GA22718@SD
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c