diff options
author | 2009-09-20 14:09:23 -0300 | |
---|---|---|
committer | 2009-09-20 13:44:25 -0400 | |
commit | 4be73005e4dcf111fa88f7265ed147e2de38b075 (patch) | |
tree | d0840ac623f77052e7bfea025ff4f8298acf4eb3 /kernel/hrtimer.c | |
parent | thinkpad-acpi: don't leave ERR_PTR() pointers around (diff) | |
download | linux-dev-4be73005e4dcf111fa88f7265ed147e2de38b075.tar.xz linux-dev-4be73005e4dcf111fa88f7265ed147e2de38b075.zip |
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 <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions