diff options
| author | Colin Ian King <colin.king@canonical.com> | 2016-12-29 15:23:12 +0000 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 22:04:20 +0100 |
| commit | e3e774186d2c011680516b5c65d8197a2b489555 (patch) | |
| tree | 6dea0f34476755489961da58efb222642b4fd280 /tools/perf/scripts/python | |
| parent | power: supply: axp288_fuel_gauge: Remove unnecessary irq?_en register writes (diff) | |
| download | linux-e3e774186d2c011680516b5c65d8197a2b489555.tar.gz linux-e3e774186d2c011680516b5c65d8197a2b489555.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
