mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
ACPI: APEI: remove redundant assignment to variable rc
The variable rc is being assigned a value that is never read,
the assignment 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
bf05bf16c7
commit
c3f2311e4b
|
|
@ -725,7 +725,6 @@ static int __init einj_init(void)
|
|||
goto err_release;
|
||||
}
|
||||
|
||||
rc = -ENOMEM;
|
||||
einj_param = einj_get_parameter_address();
|
||||
if ((param_extension || acpi5) && einj_param) {
|
||||
debugfs_create_x32("flags", S_IRUSR | S_IWUSR, einj_debug_dir,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user