diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-12-01 05:45:42 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-09 11:31:18 +0800 |
commit | 931b9c86d9a518b1374157f103168fb787e6560e (patch) | |
tree | 740e7e379af1582bd28d4e6bd64ced44af14e420 /tools/perf/scripts/python/sched-migration.py | |
parent | 19ecaea26862228a6165232eed0861702700fb20 (diff) |
thermal: int3403: Delete a check before thermal_zone_device_unregister()
The thermal_zone_device_unregister() function tests whether its argument
is NULL and then returns immediately. Thus the test around the call
is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions