[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160618683552.24173.9532956225953675883.b4-ty@oracle.com>
Date: Mon, 23 Nov 2020 22:58:01 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org, James Smart <james.smart@...adcom.com>,
Colin King <colin.king@...onical.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
Dick Kennedy <dick.kennedy@...adcom.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH][next] scsi: lpfc: remove dead code on second !ndlp check
On Wed, 18 Nov 2020 13:37:44 +0000, Colin King wrote:
> Currently there is a null check on the pointer ndlp that exits via
> error path issue_ct_rsp_exit followed by another null check on the
> same pointer that is almost identical to the previous null check
> stanza and yet can never can be reached because the previous check
> exited via issue_ct_rsp_exit. This is deadcode and can be removed.
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: lpfc: Remove dead code on second !ndlp check
https://git.kernel.org/mkp/scsi/c/61795a5316ad
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists