]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: APEI: remove redundant assignment to variable rc
authorColin Ian King <colin.king@canonical.com>
Wed, 22 Jul 2020 17:06:08 +0000 (18:06 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Jul 2020 13:22:58 +0000 (15:22 +0200)
commit405dd27ca9742a9010d372707e2a63f83f267958
tree7e7c556e71a84e9e7ebb003592f87ba29e90465d
parent1b15a78eb17821fa5bb5d03d8950ebb6246c640b
ACPI: APEI: remove redundant assignment to variable rc

The variable rc 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/hest.c