aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2018-12-05 15:43:19 +0800
committerAlex Deucher <[email protected]>2018-12-05 17:50:26 -0500
commit8288b2e5ae01cabd078836618fd651574343cbfc (patch)
tree9143975520c7dca8d3ebd57c9b299b0786b1c097 /tools/perf/scripts/python/mem-phys-addr.py
parentd4295e12796e747f9a624a56cd54de51fb2b3bdd (diff)
drm/amdgpu/acpi: NULL check before some freeing functions is not needed
kfree(NULL) is safe, so removes NULL check before freeing the mem. This patch also fix the ifnullfree.cocci warnings. Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Wen Yang <[email protected]> CC: Alex Deucher <[email protected]> CC: [email protected] CC: "David (ChunMing) Zhou" <[email protected]> CC: David Airlie <[email protected]> (maintainer:DRM DRIVERS) CC: Lyude Paul <[email protected]> CC: Rex Zhu <[email protected]> CC: Jim Qu <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions