commit | f6c7b8031d7e177c837c23d1065204b697fb54b7 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Mon Oct 30 14:07:38 2017 +0100 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Nov 03 13:32:09 2017 +0200 |
tree | bd65ab0f194e6af31a01dab6ca2450d2b5eb45d6 | |
parent | d6fa71f1c003fb2bc824276bb424a4171f9a717f [diff] |
platform/x86: peaq-wmi: Remove unnecessary checks from peaq_wmi_exit peaq_wmi_exit will only ever get called if peaq_wmi_init succeeds, so there is no need to repeat the checks from peaq_wmi_init. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>