commit | 527376c89caf59537d8e5c9f14d7caa940bd563b | [log] [tgz] |
---|---|---|
author | Darren Hart (VMware) <dvhart@infradead.org> | Wed Apr 19 18:54:45 2017 -0700 |
committer | Darren Hart (VMware) <dvhart@infradead.org> | Thu Apr 20 13:26:18 2017 -0700 |
tree | 0cd030e22fa95960ba29891483de548f38a7e348 | |
parent | a055f9ecb5b4d0cb8b33ba664363a2ed7804a6c7 [diff] |
platform/x86: hp-wmi: Cleanup exit paths Several exit paths were more complex than they needed to be. Remove superfluous conditionals, use labels common cleanup, do not shadow negative error codes. Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org> Tested-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>