Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a879f19f authored by Alan Cox's avatar Alan Cox Committed by Anton Vorontsov
Browse files

max17042_battery: Fix missing verify_model_lock() return value check



The second error check is unreachable because the lock function isn't
assigned to ret.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Acked-by: default avatarRamakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 8511748b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment