Skip to content
Unverified Commit e1fb714b authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Mark Brown
Browse files

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: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/20190709184236.GA7873@hari-Inspiron-1545


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1d3dd532
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment