Skip to content

charger: bq25713: Corrects unsigned int comparison #90696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025

Conversation

rriveramcrus
Copy link
Collaborator

Removes an unnecessary comparison of an unsigned int against the value zero.

Removes an unnecessary comparison of an unsigned int against the value
zero.

Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
Copy link

@rriveramcrus rriveramcrus marked this pull request as ready for review May 27, 2025 21:41
@kartben kartben added Coverity A Coverity detected issue or its fix Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 28, 2025
@kartben kartben merged commit 68f300d into zephyrproject-rtos:main May 28, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Charger Coverity A Coverity detected issue or its fix Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 520289] Macro compares unsigned to 0 in drivers/charger/charger_bq25713.c
3 participants