diff options
| author | 2022-08-22 11:51:33 +0800 | |
|---|---|---|
| committer | 2022-09-13 17:20:37 +0200 | |
| commit | a74bfc9eaa497951effddefbcb18f1c7ab56fb35 (patch) | |
| tree | fc7b822020e613f0664996a598b40d00e84b9f2e /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | ALSA: hda/hdmi: change type for the 'assigned' variable (diff) | |
| download | linux-dev-a74bfc9eaa497951effddefbcb18f1c7ab56fb35.tar.xz linux-dev-a74bfc9eaa497951effddefbcb18f1c7ab56fb35.zip | |
ASoC: Intel: fix unused-variable warning in probe_codec
In configurations with CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=n,
gcc warns about an unused variable:
sound/soc/intel/skylake/skl.c: In function ‘probe_codec’:
sound/soc/intel/skylake/skl.c:729:18: error: unused variable ‘skl’ [-Werror=unused-variable]
struct skl_dev *skl = bus_to_skl(bus);
^~~
cc1: all warnings being treated as errors
Fixes: 3fd63658caed9 ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220822035133.2147381-1-cuigaosheng1@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
