commit | a879f19fe7decb9a53d13a63edd2eced8c2895a2 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Sun Nov 18 14:59:47 2012 -0800 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Sun Nov 18 14:59:47 2012 -0800 |
tree | cdd8722a6cd84aa7d27d79aded0da18552c97865 | |
parent | 8511748ba1ab83a7d89d802a50335115358a8cfc [diff] |
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: Alan Cox <alan@linux.intel.com> Acked-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>