mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
ASoC: SOF: sof-audio: fix unused label warning
Reported by cppcheck and gcc. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
b717ef00ea
commit
e6b810377c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user