diff options
author | Gabor Juhos <j4g8y7@gmail.com> | 2024-03-08 10:25:07 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-03-16 13:00:50 -0500 |
commit | e6f3dac9cf11eff1daddeaa69521370c8941a5f9 (patch) | |
tree | 67c162ab36f6f5308ace9ddbe9ffa99d871f186a /rust/helpers/build_bug.c | |
parent | 0c50b7fcf2773b4853e83fc15aba1a196ba95966 (diff) |
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: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Konrad 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: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions