Messages in this thread | | | From | Jinpu Wang <> | Date | Thu, 1 Aug 2019 09:07:33 +0200 | Subject | Re: [PATCH] scsi: pm80xx: remove redundant assignments to variable rc |
| |
On Thu, Aug 1, 2019 at 12:22 AM Colin King <colin.king@canonical.com> wrote: > > From: Colin Ian King <colin.king@canonical.com> > > 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 > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Thanks, Colin.
| |