diff options
author | Markus Elfring <[email protected]> | 2014-11-24 20:30:29 +0100 |
---|---|---|
committer | Darren Hart <[email protected]> | 2014-12-03 10:10:14 -0800 |
commit | 0098181016dd45c1c417656ba36b87d9101cbb83 (patch) | |
tree | adb5cead8a3f2307e94918ac9369c95e7b2166c9 /scripts/gdb/linux/tasks.py | |
parent | a39f46df33c6847399f9b41b74ef09a4095fb996 (diff) |
platform: x86: Deletion of checks before backlight_device_unregister()
The backlight_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 <[email protected]>
For msi-wmi.c:
Acked-by: Anisse Astier <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions