Messages in this thread | | | Subject | Re: [PATCH] scsi: lpfc: remove redundant null check on eqe | From | James Smart <> | Date | Thu, 14 Sep 2017 07:47:59 -0700 |
| |
On 9/8/2017 1:02 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com> >
Yep. thank you
Signed-off-by: James Smart <james.smart@broadcom.com>
| |