OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6b04a
)
ASoC: bcm: cygnus-pcm: Fix unused assignment about 'rc'
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Wed, 28 Jul 2021 12:44:11 +0000
(20:44 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 28 Jul 2021 15:39:28 +0000
(16:39 +0100)
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>
sound/soc/bcm/cygnus-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/bcm/cygnus-pcm.c
b/sound/soc/bcm/cygnus-pcm.c
index
56b71b9
..
3abeaf0
100644
(file)
--- 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__);