Re: [PATCH] scsi: pm80xx: remove redundant assignments to variable rc

From: Martin K. Petersen
Date: Wed Aug 07 2019 - 22:16:53 EST



Colin,

> There are several occasions where variable rc is being initialized
> with a value that is never read and error is being re-assigned a
> little later on. Clean up the code by removing rc entirely and
> just returning the return value from the call to pm8001_issue_ssp_tmf

Applied to 5.4/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering