aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2020-05-07 15:27:35 +0800
committerMark Brown <[email protected]>2020-05-08 11:28:47 +0100
commit28d4adc4257cd2e119df17aa7e9d18cdf607f23d (patch)
tree48f5f0c5abdc209c9e32b7a40d60a8b8950fab09 /tools/perf/scripts/python/bin/stackcollapse-report
parentc16e923dd635d383026a306acea540b8e0706c88 (diff)
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 <[email protected]> Suggested-by: Joe Perches <[email protected]> Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions