aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2019-12-10 09:34:48 +0900
committerMark Brown <[email protected]>2019-12-10 13:18:42 +0000
commit4702f99148dae94b00bcb7bbba6cd9ca01651e69 (patch)
tree79d50bc143f99f59dd12988cf281b46cdc9e25c9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenteaffeefbd042a44ca31f60f299a27d899aa4ec26 (diff)
ASoC: soc-core: soc_set_name_prefix(): tidyup loop condition
Current soc_set_name_prefix() for loop is checking both codec_conf pointer and its number for (...; i < card->num_configs && card->codec_conf; ...) But, if card->num_configs exists but card->codec_conf was NULL, it is just bug. This patch cleanups for loop condition. Signed-off-by: Kuninori Morimoto <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions