* [PATCH] ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning
@ 2015-09-01 6:50 Axel Lin
2015-09-06 9:37 ` Manuel Lauss
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2015-09-01 6:50 UTC (permalink / raw)
To: Mark Brown; +Cc: Manuel Lauss, alsa-devel, Liam Girdwood
Fix below build warning:
sound/soc/au1x/psc-i2s.c: In function 'au1xpsc_i2s_drvprobe':
sound/soc/au1x/psc-i2s.c:299:6: warning: unused variable 'ret' [-Wunused-variable]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/au1x/psc-i2s.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 38e853a..0bf9d62 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -296,7 +296,6 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
{
struct resource *iores, *dmares;
unsigned long sel;
- int ret;
struct au1xpsc_audio_data *wd;
wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data),
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning
2015-09-01 6:50 [PATCH] ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning Axel Lin
@ 2015-09-06 9:37 ` Manuel Lauss
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Lauss @ 2015-09-06 9:37 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Mark Brown, Liam Girdwood
On Tue, Sep 1, 2015 at 8:50 AM, Axel Lin <axel.lin@ingics.com> wrote:
> Fix below build warning:
> sound/soc/au1x/psc-i2s.c: In function 'au1xpsc_i2s_drvprobe':
> sound/soc/au1x/psc-i2s.c:299:6: warning: unused variable 'ret' [-Wunused-variable]
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> sound/soc/au1x/psc-i2s.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
> index 38e853a..0bf9d62 100644
> --- a/sound/soc/au1x/psc-i2s.c
> +++ b/sound/soc/au1x/psc-i2s.c
> @@ -296,7 +296,6 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
> {
> struct resource *iores, *dmares;
> unsigned long sel;
> - int ret;
> struct au1xpsc_audio_data *wd;
>
> wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data),
> --
Acked-by: Manuel Lauss <manuel.lauss@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-06 9:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-01 6:50 [PATCH] ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning Axel Lin
2015-09-06 9:37 ` Manuel Lauss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.