diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-05-13 13:29:13 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-05-14 19:07:50 -0700 |
commit | 3395d36e6805786c26d13188735bc796b9d7a7c9 (patch) | |
tree | 56b2a4379acbf4324520161ccfb4716273c7a4ec /lib/mpi/mpiutil.c | |
parent | 3530167c6fe8001de6c026a3058eaca4c8a5329f (diff) |
soc: qcom: rpmh-rsc: drop redundant unsigned >=0 comparision
Unsigned int "minor" is always >= 0 as reported by Smatch:
drivers/soc/qcom/rpmh-rsc.c:1076 rpmh_rsc_probe() warn: always true condition '(drv->ver.minor >= 0) => (0-u32max >= 0)'
Fixes: 88704a0cd719 ("soc: qcom: rpmh-rsc: Support RSC v3 minor versions")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions