diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2012-11-19 02:59:47 +0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-19 02:59:47 +0400 |
commit | a879f19fe7decb9a53d13a63edd2eced8c2895a2 (patch) | |
tree | cdd8722a6cd84aa7d27d79aded0da18552c97865 /drivers/power/rx51_battery.c | |
parent | 8511748ba1ab83a7d89d802a50335115358a8cfc (diff) | |
download | linux-a879f19fe7decb9a53d13a63edd2eced8c2895a2.tar.xz |
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>
Diffstat (limited to 'drivers/power/rx51_battery.c')
0 files changed, 0 insertions, 0 deletions