scsi: ufs-qcom: remove unneeded variable 'ret'
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 07:06:25 +0000 (15:06 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Apr 2020 04:06:31 +0000 (00:06 -0400)
commitf336c7003c84c6ac6db3ccc70b8cf6a588015871
treece3e2d87ca523355452a095ea5a25850bb7de00b
parentec34143912667c0f34cd6e0667344dde5e725f13
scsi: ufs-qcom: remove unneeded variable 'ret'

Fix the following coccicheck warning:

drivers/scsi/ufs/ufs-qcom.c:575:5-8: Unneeded variable: "ret". Return
"0" on line 590

Link: https://lore.kernel.org/r/20200418070625.11756-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c