aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2017-06-06 15:24:59 +0300
committerGreg Kroah-Hartman <[email protected]>2017-06-09 11:42:41 +0200
commitc9843ebbb83a120094aa3a55bc0190d285e8384a (patch)
treed296156a193479e70f2f14c366105c602c767f39 /tools/perf/scripts/python
parentda2da04b8d4476a411feb2a12b47792aebbc142f (diff)
thunderbolt: Allow passing NULL to tb_ctl_free()
Following the usual pattern used in many places, we allow passing NULL pointer to tb_ctl_free(). Then the user can call the function regardless if it has allocated control channel or not making the code bit simpler. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Mika Westerberg <[email protected]> Signed-off-by: Andreas Noever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions