Commit e6f3dac9 authored by Gabor Juhos's avatar Gabor Juhos Committed by Bjorn Andersson
Browse files

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



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: default avatarGabor Juhos <j4g8y7@gmail.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240308-qcom_scm-is_err-check-v1-1-9c3e1ceefafe@gmail.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 0c50b7fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment