diff options
| author | Kuninori Morimoto <[email protected]> | 2019-08-07 10:31:08 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-08 20:56:54 +0100 |
| commit | 9b98c7c2a0599084c7ed629b5f88f474d2578307 (patch) | |
| tree | 2c29f2c7493d32844603cccf2c9ce5e7c01e3858 /tools/perf/scripts/python | |
| parent | daa480bde6b3a9b728965e52efffc329ccee3f77 (diff) | |
ASoC: soc-core: tidyup for snd_soc_add_card_controls()
snd_soc_add_card_controls() registers controls by using
for(... i < num; ...). If controls was NULL, num should be zero.
Thus, we don't need to check about controls 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')
0 files changed, 0 insertions, 0 deletions