diff options
author | Kuninori Morimoto <[email protected]> | 2017-09-25 01:38:13 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-09-25 17:30:48 +0100 |
commit | db1721f5296704d4f706a31f5d147cf7f16e3add (patch) | |
tree | 80ef6e5f2fabac80f6642b80eb2c74903e1d5c87 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 957ce0c6b8a1f26559864507ae0bfcba29d924ad (diff) |
ASoC: soc-core: remove rtd NULL check on soc_free_pcm_runtime()
static soc_free_pcm_runtime() is never called with rtd == NULL.
This patch removes unnecessary rtd == NULL check from
soc_free_pcm_runtime().
Furthermore, NULL check before kfree() is not needed.
This patch removes such ckeck too.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
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