ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning
PATCH 1/1 ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning
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 <[email protected]>
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/au1x/psc-i2s.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/au1x/psc-i2s.c +0 -1
@@ -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),
Signature · 1 line
2.1.0
Quoted 15 lines · Axel Lin
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 <[email protected]>Signed-off-by Axel Lin <[email protected]>--- sound/soc/au1x/psc-i2s.c | 1 - 1 file changed, 1 deletion(-)sound/soc/au1x/psc-i2s.c +0
-0
sound/soc/au1x/psc-i2s.c static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
Quoted 8 lines
sound/soc/au1x/psc-i2s.c +0
-2@@ -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 <[email protected]>