commit | 73ba8afe33e22b4bae26098add458bed3e666bc2 | [log] [tgz] |
---|---|---|
author | Tim Sell <Timothy.Sell@unisys.com> | Fri May 06 13:11:21 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 09 14:15:18 2016 +0200 |
tree | 6130b28ee882b592881b12b7b53c46e3f95a2a1c | |
parent | 0fab0f4fcbc08763158529b5ff124c596aef6bf9 [diff] |
staging: unisys: visorinput: handle_locking_key() simplifications By directly returning for the error-case, a test was eliminated. Also, the old_state variable was removed as it was not necessary, and some redundant parens were removed. Signed-off-by: Tim Sell <Timothy.Sell@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>