toshiba_acpi: Remove unneeded u32 variables from *setup_keyboard
authorAzael Avalos <coproscefalo@gmail.com>
Sat, 19 Sep 2015 04:45:34 +0000 (22:45 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 3 Oct 2015 15:40:44 +0000 (08:40 -0700)
commit10e6aaabc37171a8b2c0f531696db91f5ac442f9
tree284cd44a539b58a8772dccb411699c8e530b4d3b
parent0b498201e67df447dc81542a71b36db0fae2878d
toshiba_acpi: Remove unneeded u32 variables from *setup_keyboard

The function toshiba_acpi_setup_keyboard currently has two u32 variables
used to store the Hotkey Event Type and the result of the HCI_SYSTEM_EVENT
query.

This patch removes those two variables, as we already have a global
variable named "hotkey_event_type" and the result of the HCI_SYSTEM_EVENT
query can be checked directly from the function.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c