Tag: 0098181016dd45c1c417656ba36b87d9101cbb83

platform: x86: Deletion of checks before backlight_device_unregister()

Author: Markus Elfring <elfring@users.sourceforge.net> 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 For msi-wmi.c: Acked-by: Anisse Astier Signed-off-by: Darren Hart — drivers/platform/x86/asus-laptop.c | 3 +– drivers/platform/x86/asus-wmi.c | 3 +– …

Continue reading