diff options
author | 2021-07-28 20:44:11 +0800 | |
---|---|---|
committer | 2021-07-28 16:39:28 +0100 | |
commit | 14db5499d583e0952606fbca3eb37a0f28008d30 (patch) | |
tree | fddce910aa0ab82051af6a4b6471eb83989b8945 /sound/soc/bcm | |
parent | ASoC: Intel: Fix spelling contraction "cant" -> "can't" (diff) | |
download | linux-dev-14db5499d583e0952606fbca3eb37a0f28008d30.tar.xz linux-dev-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>
Diffstat (limited to 'sound/soc/bcm')
-rw-r--r-- | sound/soc/bcm/cygnus-pcm.c | 2 |
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__); |