aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2017-05-16 10:52:43 +0530
committerRafael J. Wysocki <[email protected]>2017-06-22 03:13:08 +0200
commitb4883ca449473e8879a062c1f55f9d062c168ae5 (patch)
tree0855a95f156621934d53f25d28e42e3e00694e02 /tools/perf/scripts/python/compaction-times.py
parent5e68ebd0ac4842977c127160f9ecf1a0099f502f (diff)
PM / Domains: pdd->dev can't be NULL in genpd_dev_pm_qos_notifier()
The pm_domain_data (pdd) pointer is set from genpd_alloc_dev_data() and pdd->dev is guaranteed to be valid. There is no need to check pdd and pdd->dev in rest of the code as pdd->dev will always be valid for a non NULL pdd pointer. Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions