scsi: ufs: qcom: Remove unnecessary goto statement from ufs_qcom_config_esi()
authorChanWoo Lee <cw9316.lee@samsung.com>
Tue, 19 Dec 2023 08:27:40 +0000 (17:27 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2024 04:05:21 +0000 (23:05 -0500)
commitb08d86e6eb03566c5dc32e6ff10147f80aeb7511
tree32569cdc3a2afd949f04ec8437546a1e1b19fe56
parentee36710912b2075c417100a8acc642c9c6496501
scsi: ufs: qcom: Remove unnecessary goto statement from ufs_qcom_config_esi()

There is only one place where goto is used, and it is unnecessary to check
the ret value through 'goto out' because the ret value is already true.

Therefore, remove the goto statement and integrate the '!ret' condition
into the existing code.

Signed-off-by: ChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20231219082740.27644-1-cw9316.lee@samsung.com
Reviewed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c