[PATCH] ACPI: APEI: remove redundant assignment to variable rc

2021-04-15 Thread Colin King
From: Colin Ian King 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 --- drivers/acpi/apei/einj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/acpi/ape

Re: [PATCH] ACPI: APEI: remove redundant assignment to variable rc

2020-07-27 Thread Rafael J. Wysocki
On Wed, Jul 22, 2020 at 7:06 PM Colin King wrote: > > From: Colin Ian King > > 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") > Si

[PATCH] ACPI: APEI: remove redundant assignment to variable rc

2020-07-22 Thread Colin King
From: Colin Ian King 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 --- drivers/acpi/apei/hest.c | 2 +-