[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a56b01a-27e4-6ebc-0e99-8a06a2f2f75f@broadcom.com>
Date: Mon, 15 Jul 2019 07:51:30 -0700
From: James Smart <james.smart@...adcom.com>
To: YueHaibing <yuehaibing@...wei.com>, dick.kennedy@...adcom.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH -next] scsi: lpfc: Remove unnecessary null check before
kfree
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@...wei.com>
> ---
> drivers/scsi/lpfc/lpfc_bsg.c | 4 +---
>
Reviewed-by: James Smart <james.smart@...adcom.com>
-- james
Powered by blists - more mailing lists