[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1h604oc0n.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 24 Jun 2025 21:17:41 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: mrigendrachaubey <mrigendra.chaubey@...il.com>
Cc: James.Bottomley@...senPartnership.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scsi: scsi_devinfo: remove redundant 'found'
> Remove the unnecessary 'found' flag in scsi_devinfo_lookup_by_key().
> The loop can return the matching entry directly when found, and fall
> through to return ERR_PTR(-EINVAL) otherwise.
Applied to 6.17/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists