diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-08-22 06:51:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-13 19:12:08 +0300 |
commit | 515626a33a194c4caaf2879dbf9e00e882582af0 (patch) | |
tree | 0966be0b37eb330d5866b70475a42df9ac7fdc5e /tools/perf/scripts/python/netdev-times.py | |
parent | 30248f618d30cf1ad9d5a72126799f2f0239860c (diff) | |
download | linux-515626a33a194c4caaf2879dbf9e00e882582af0.tar.xz |
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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions