mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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>
This commit is contained in:
parent
92ed301919
commit
eb27e5a314
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ __setup("hest_disable", setup_hest_disable);
|
|||
void __init acpi_hest_init(void)
|
||||
{
|
||||
acpi_status status;
|
||||
int rc = -ENODEV;
|
||||
int rc;
|
||||
unsigned int ghes_count = 0;
|
||||
|
||||
if (hest_disable) {
|
||||
|
|
Loading…
Add table
Reference in a new issue