Re: [PATCH v2] scsi: scsi_devinfo: remove redundant 'found'
From: Martin K. Petersen
Date: Tue Jun 24 2025 - 21:18:01 EST
> 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