diff options
| author | Kuninori Morimoto <[email protected]> | 2019-08-07 10:31:03 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-08 20:56:53 +0100 |
| commit | daa480bde6b3a9b728965e52efffc329ccee3f77 (patch) | |
| tree | fe6a584425b4482d64583141253492f1064500e4 /tools/perf/scripts/python/bin | |
| parent | e6d7020c2946bef2efab7c70339eee6a6b3cb6a6 (diff) | |
ASoC: soc-core: tidyup for snd_soc_dapm_add_routes()
snd_soc_dapm_add_routes() registers routes by using
for(... i < num; ...). If routes was NULL, num should be zero.
Thus, we don't need to check about route pointer.
This patch also cares missing return value.
Signed-off-by: Kuninori Morimoto <[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')
0 files changed, 0 insertions, 0 deletions