diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-08-16 17:43:20 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-20 18:00:36 -0400 |
commit | 189c7213f4c5decddfe5969e28a1ce0bcae28cb1 (patch) | |
tree | 7cbc93d319f3b4a3b67a6b2d7887aa538666cc51 | |
parent | d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff) |
ACPICA: Debugger: remove redundant assignment on obj_desc
ACPICA commit f530f1acb3128136ad97c715fdaebbbeff283ee2
Pointer obj_desc 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")
Link: https://github.com/acpica/acpica/commit/f530f1ac
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpica/dbobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dbobject.c b/drivers/acpi/acpica/dbobject.c index d220168dca01..f9fc84bc3e84 100644 --- a/drivers/acpi/acpica/dbobject.c +++ b/drivers/acpi/acpica/dbobject.c | |||
@@ -394,7 +394,6 @@ void acpi_db_decode_locals(struct acpi_walk_state *walk_state) | |||
394 | u8 display_locals = FALSE; | 394 | u8 display_locals = FALSE; |
395 | 395 | ||
396 | node = walk_state->method_node; | 396 | node = walk_state->method_node; |
397 | obj_desc = walk_state->method_desc; | ||
398 | 397 | ||
399 | /* There are no locals for the module-level code case */ | 398 | /* There are no locals for the module-level code case */ |
400 | 399 | ||