platform/x86: asus_wmi: remove redundant initialization of variable status
authorColin Ian King <colin.king@canonical.com>
Thu, 7 May 2020 22:04:55 +0000 (23:04 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 May 2020 14:27:11 +0000 (17:27 +0300)
commit6568d0c07efcc2e786d59c9258ec61f36f4ac483
treeeb702f9a6bbd439ddae8163f69d09132a517dc19
parentaab9e7896ec98b2a6b4eeeed71cc666776bb8def
platform/x86: asus_wmi: remove redundant initialization of variable status

The variable status is being initialized with a value that is never read
and it is being updated later with a new value. The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wmi.c