Tag: 4981c2b7abfe92a7ad3c9888b8a1ada552d49406

ACPI-EC: Drop unnecessary check made before calling acpi_ec_delete_query()

Author: Markus Elfring <elfring@users.sourceforge.net> The acpi_ec_delete_query() 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 [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki — drivers/acpi/ec.c | 2 +- 1 file changed, 1 …

Continue reading