diff options
author | Kuninori Morimoto <[email protected]> | 2017-09-26 00:40:42 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-09-26 09:19:33 -0700 |
commit | 75ab9eb6f15bad78b3ce274c699c27dc98ab13ce (patch) | |
tree | 22a53174bcd06a07710e8c17f521017f21a03994 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 74b33b8481e7c8a66149093f691b9082b50e24fc (diff) |
ASoC: add null_snd_soc_ops and reduce NULL ops check
Double NULL pointer check for ops and ops->func is difficult to read
and might be forget to check it if new func was add.
This patch adds new null_snd_soc_ops and use it if rtd->dai_link didn't
have it to avoid NULL ops, and reduces ops NULL check.
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions