From: Henrique de Moraes Holschuh Date: Sun, 20 Sep 2009 17:09:23 +0000 (-0300) Subject: thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit X-Git-Tag: v2.6.32-rc1~18^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be73005e4dcf111fa88f7265ed147e2de38b075;p=pandora-kernel.git thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit hotkey_exit() is only called if hotkey_init() finished sucessfully, or by direct calls inside hotkey_init(). The tp_features.hotkey test is always true, and just adds to the confusion, remove it. Also, avoid calling hotkey_mask_set() when it won't do anything useful. Signed-off-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- Reading git-diff-tree failed