Messages in this thread | | | Subject | Re: [PATCH -next] scsi: lpfc: Remove unnecessary null check before kfree | From | James Smart <> | Date | Mon, 15 Jul 2019 07:51:30 -0700 |
| |
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@huawei.com> > --- > drivers/scsi/lpfc/lpfc_bsg.c | 4 +--- >
Reviewed-by: James Smart <james.smart@broadcom.com>
-- james
| |