diff options
author | 2016-07-23 17:04:00 +0200 | |
---|---|---|
committer | 2016-07-28 23:51:04 +0200 | |
commit | 4f48ec8a1c070f00c3d675b664e8b3879e5286e5 (patch) | |
tree | 909c9e9b7d1297655ad62c41c01594e484d3135e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PM / runtime: Asynchronous "idle" in pm_runtime_allow() (diff) | |
download | linux-dev-4f48ec8a1c070f00c3d675b664e8b3879e5286e5.tar.xz linux-dev-4f48ec8a1c070f00c3d675b664e8b3879e5286e5.zip |
PM-wakeup: Delete unnecessary checks before three function calls
The following functions test whether their argument is NULL
and then return immediately.
* dev_pm_arm_wake_irq
* dev_pm_disarm_wake_irq
* wakeup_source_unregister
Thus the test around the calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
[ rjw: Minor whitespace adjustments ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions