mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
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>
This commit is contained in:
parent
aab9e7896e
commit
6568d0c07e
|
|
@ -309,7 +309,7 @@ static int asus_wmi_evaluate_method_agfn(const struct acpi_buffer args)
|
|||
struct acpi_buffer input;
|
||||
u64 phys_addr;
|
||||
u32 retval;
|
||||
u32 status = -1;
|
||||
u32 status;
|
||||
|
||||
/*
|
||||
* Copy to dma capable address otherwise memory corruption occurs as
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user