Re: [PATCH -next] scsi: lpfc: Remove unnecessary null check before kfree
From: James Smart
Date: Mon Jul 15 2019 - 10:51:44 EST
On 7/11/2019 7:10 AM, YueHaibing wrote:
A null check before a kfree is redundant, so remove it.
This is detected by coccinelle.
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
drivers/scsi/lpfc/lpfc_bsg.c | 4 +---
Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx>
-- james