diff mbox series

ASoC: bcm: cygnus-pcm: Fix unused assignment about 'rc'

Message ID 20210728124411.3168-1-tangbin@cmss.chinamobile.com (mailing list archive)
State Accepted
Commit 14db5499d583e0952606fbca3eb37a0f28008d30
Headers show
Series ASoC: bcm: cygnus-pcm: Fix unused assignment about 'rc' | expand

Commit Message

Tang Bin July 28, 2021, 12:44 p.m. UTC
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>
---
 sound/soc/bcm/cygnus-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown July 28, 2021, 11:27 p.m. UTC | #1
On Wed, 28 Jul 2021 20:44:11 +0800, Tang Bin wrote:
> Delete unused initialized value of 'rc', because it will
> be assigned by the function devm_request_irq().

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: bcm: cygnus-pcm: Fix unused assignment about 'rc'
      commit: 14db5499d583e0952606fbca3eb37a0f28008d30

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/bcm/cygnus-pcm.c b/sound/soc/bcm/cygnus-pcm.c
index 7ad07239f..039365f76 100644
--- a/sound/soc/bcm/cygnus-pcm.c
+++ b/sound/soc/bcm/cygnus-pcm.c
@@ -830,7 +830,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__);