platform/x86: asus-wmi: Refactor error handling
authorYurii Pavlovskyi <yurii.pavlovskyi@gmail.com>
Tue, 14 May 2019 19:03:50 +0000 (21:03 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Jun 2019 12:22:47 +0000 (15:22 +0300)
commit1827f3f06aafe67c1d273025a26390d9d2bdd3f7
tree8605c8fd8704ea90f9702696c7829dc776411295
parent2b5767bf86ea261ed98dda96c91e3eee052887b8
platform/x86: asus-wmi: Refactor error handling

Remove exit label as it is only used once from the point in code where no
cleanup is required and return can be called immediately.

Signed-off-by: Yurii Pavlovskyi <yurii.pavlovskyi@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wmi.c