]> git.baikalelectronics.ru Git - kernel.git/commit
intel-hid: Remove duplicated acpi_remove_notify_handler
authorAlex Hung <alex.hung@canonical.com>
Wed, 29 Jun 2016 03:41:15 +0000 (11:41 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2016 05:18:35 +0000 (22:18 -0700)
commitce7d84b527a0f40f30e11582011ae64f442d4f20
tree90cd86fbc550f26106b09d22bdee95cececa898e
parent60b17ba9eb1d645965b4809218946466f883dd15
intel-hid: Remove duplicated acpi_remove_notify_handler

The second call to acpi_remove_notify_handler does not result in panic
or generate error messages, but it is unnecessary and the function
returns with an error. Remove the duplicate call. Correct two improperly
indented lines.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel-hid.c