Re: [PATCH] scsi: lpfc: remove redundant null check on eqe

From: James Smart
Date: Thu Sep 14 2017 - 10:48:07 EST


On 9/8/2017 1:02 AM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

The pointer eqe is always non-null inside the while loop, so the
check to see if eqe is NULL is redudant and hence can be removed.

Detected by CoverityScan CID#1248693 ("Logically Dead Code")

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>


Yep. thank you

Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx>