commit | 0d9087bca8f025291f5165ed7c13b7bb2cf5d66b | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Mar 18 11:52:45 2018 +0100 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Wed May 02 10:57:43 2018 +0900 |
tree | 35a3fa92e3ba62e9d2ff14409d91e21ec34a9ea5 | |
parent | 94a5bbcaa79938ea025c9564afb3d5c884e143da [diff] |
drivers:power:max77693: remove redundant logical constraint As ret is not set when calling max77693_get_vcell() there is no need to check ret again. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/drivers/power/mfd/fg_max77693.c b/drivers/power/mfd/fg_max77693.c index df15508..a140731 100644 --- a/drivers/power/mfd/fg_max77693.c +++ b/drivers/power/mfd/fg_max77693.c
@@ -60,8 +60,6 @@ return ret; max77693_get_vcell(&pb->bat->voltage_uV); - if (ret) - return ret; return 0; }