Skip to content
Unverified Commit 194f8692 authored by Zihao Wang's avatar Zihao Wang Committed by Mark Brown
Browse files

ASoC: tegra20_ac97: Add missing unwind goto in tegra20_ac97_platform_probe()



Smatch Warns:
	sound/soc/tegra/tegra20_ac97.c:321 tegra20_ac97_platform_probe()
	warn: missing unwind goto?

The goto will set the "soc_ac97_ops" and "soc_ac97_bus" operations to
NULL.  But they are already NULL at this point so it is a no-op.
However, just for consistency, change the direct return to a goto.  No
functional change.

Signed-off-by: default avatarZihao Wang <u202012060@hust.edu.cn>
Reviewed-by: default avatarDan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/20230404084622.1202-1-u202012060@hust.edu.cn


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3af24372
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment