Re: [PATCH] ACPI / utils: remove redundant check if element is NULL

From: Rafael J. Wysocki
Date: Thu Mar 10 2016 - 18:33:13 EST

On Sunday, February 28, 2016 08:31:49 PM Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> element is &package->package.elements[i] which can never be NULL
> so the check to see if it is NULL is redundant and can be removed.
> Detected with static analysis by CoverityScan
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks!