summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2021-07-28 14:44:11 +0200
committerMark Brown <broonie@kernel.org>2021-07-28 17:39:28 +0200
commit14db5499d583e0952606fbca3eb37a0f28008d30 (patch)
treefddce910aa0ab82051af6a4b6471eb83989b8945
parentASoC: Intel: Fix spelling contraction "cant" -> "can't" (diff)
downloadlinux-14db5499d583e0952606fbca3eb37a0f28008d30.tar.xz
linux-14db5499d583e0952606fbca3eb37a0f28008d30.zip
ASoC: bcm: cygnus-pcm: Fix unused assignment about 'rc'
Delete unused initialized value of 'rc', because it will be assigned by the function devm_request_irq(). Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20210728124411.3168-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/bcm/cygnus-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/bcm/cygnus-pcm.c b/sound/soc/bcm/cygnus-pcm.c
index 56b71b965624..3abeaf0f1b1c 100644
--- a/sound/soc/bcm/cygnus-pcm.c
+++ b/sound/soc/bcm/cygnus-pcm.c
@@ -729,7 +729,7 @@ static struct snd_soc_component_driver cygnus_soc_platform = {
int cygnus_soc_platform_register(struct device *dev,
struct cygnus_audio *cygaud)
{
- int rc = 0;
+ int rc;
dev_dbg(dev, "%s Enter\n", __func__);