Re: [PATCH] firmware: qcom_scm: remove IS_ERR() checks from qcom_scm_bw_{en,dis}able()

From: Konrad Dybcio
Date: Fri Mar 08 2024 - 17:00:52 EST


On 8.03.2024 10:25, Gabor Juhos wrote:
> Since the qcom_scm_probe() function returns with an error if
> __scm->path contains an error pointer, it is not needed to
> verify that again in the qcom_scm_bw_{en,dis}able() functions
> so remove the superfluous IS_ERR() checks.
>
> Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx>
> ---
> Based on v6.8-rc7.
> ---

LGTM

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad