commit | e3e774186d2c011680516b5c65d8197a2b489555 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Dec 29 15:23:12 2016 +0000 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Jan 04 22:04:20 2017 +0100 |
tree | 6dea0f34476755489961da58efb222642b4fd280 | |
parent | 1169735dc26c2c9a8e94efc5f66c2c95ce4fce14 [diff] |
power: supply: wm97xx_battery: remove redundant 2nd null check on pdata pdata is being null checked twice, the 2nd check is redundant code and can be removed. Fixes CoverityScan CID 1392340 "Logically dead code" Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>