platform/x86: thinkpad_acpi: Drop setting send_/ignore_acpi_ev defaults twice
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Apr 2024 12:28:13 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:44:08 +0000 (11:44 +0200)
commitb070f13c978b7fe9e21f0b539f1eabadd103a100
tree49c65d817567cdbf16a20f636202092f69f2097d
parente7e630e0b516a03b52e662625858709c93540ba2
platform/x86: thinkpad_acpi: Drop setting send_/ignore_acpi_ev defaults twice

send_acpi_ev and ignore_acpi_ev are already initialized to true and false
respectively by hotkey_notify() before calling the various helpers. Drop
the needless re-initialization from the helpers.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20240424122834.19801-4-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c