Re: [PATCH] scsi: ufs: core: Simplify param_set_mcq_mode()

From: Stanley Chu
Date: Wed Apr 26 2023 - 04:08:59 EST


Keoseong Park <keosung.park@xxxxxxxxxxx> 於 2023年4月26日 週三 下午1:26寫道:
>
> This function does not require the "ret" variable because it returns
> only the result of param_set_bool().
>
> Remove unnecessary "ret" variable and simplify the code.
>
> Signed-off-by: Keoseong Park <keosung.park@xxxxxxxxxxx>
> ---
> drivers/ufs/core/ufshcd.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)

Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>