commit | 44fccac4ff17371054f795f89e23f0b60bb516c1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Oct 14 10:33:28 2016 +0300 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Oct 19 05:36:09 2016 +0200 |
tree | 674c49048b0866886343b8780b03e7fed6ebd294 | |
parent | 93f7c27b4dc56f144b954424031baae0f6a0e808 [diff] |
power: supply: lp8788: remove an unneeded NULL check We checked that "pdata->chg_params" is non-NULL earlier in this function so when we add "i" to it, it's still non-NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Milo Kim <milo.kim@ti.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>