aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorCong Ding <[email protected]>2013-01-18 21:42:18 +0100
committerJoerg Roedel <[email protected]>2013-01-28 15:21:27 +0100
commit0af125ca06afbf279c45dc5a57ec35247b35e0e2 (patch)
tree96ef01a6dda5b2a3e359723d20f544d55d0c6f58 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
iommu/omap: Remove unnecessary null pointer check
The pointer obj is dereferenced in line 146 and 149 respectively, so it is not necessary to check null again in line 149 and 175. And I have checked that all the callers of these two functions guarantee the parameter obj passed is not null. Signed-off-by: Cong Ding <[email protected]> Acked-by: Ohad Ben-Cohen <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions