diff options
| author | 2020-05-07 15:27:35 +0800 | |
|---|---|---|
| committer | 2020-05-08 11:28:47 +0100 | |
| commit | 28d4adc4257cd2e119df17aa7e9d18cdf607f23d (patch) | |
| tree | 48f5f0c5abdc209c9e32b7a40d60a8b8950fab09 /tools/perf/scripts/python/syscall-counts.py | |
| parent | soc: fsl_asrc: Make some functions static (diff) | |
| download | linux-dev-28d4adc4257cd2e119df17aa7e9d18cdf607f23d.tar.xz linux-dev-28d4adc4257cd2e119df17aa7e9d18cdf607f23d.zip | |
ASoC: SOF: Intel: Fix unused variable warning
When CONFIG_SND_SOC_SOF_BAYTRAIL is not set, gcc warns:
sound/soc/sof/intel/byt.c:85:41: warning: ‘cht_debugfs’ defined but not used [-Wunused-const-variable=]
static const struct snd_sof_debugfs_map cht_debugfs[] = {
^~~~~~~~~~~
Move the variable inside #ifdef
Reported-by: Hulk Robot <hulkci@huawei.com>
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200507072735.16588-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
