From e6b810377c7353b8b6c08df402c7acdb057df3c4 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 21 Nov 2019 13:02:49 -0600 Subject: [PATCH] ASoC: SOF: sof-audio: fix unused label warning Reported by cppcheck and gcc. Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/sof-audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/sof/sof-audio.c b/sound/soc/sof/sof-audio.c index a62c2833ace2..0d8f65b9ae25 100644 --- a/sound/soc/sof/sof-audio.c +++ b/sound/soc/sof/sof-audio.c @@ -387,7 +387,9 @@ int sof_machine_check(struct snd_sof_dev *sdev) dev_err(sdev->dev, "error: no matching ASoC machine driver found - aborting probe\n"); return -ENODEV; #endif +#if IS_ENABLED(CONFIG_SND_SOC_SOF_FORCE_NOCODEC_MODE) nocodec: +#endif /* select nocodec mode */ dev_warn(sdev->dev, "Using nocodec machine driver\n"); mach = devm_kzalloc(sdev->dev, sizeof(*mach), GFP_KERNEL);