power: supply: generic-adc-battery: remove redundant variable pdata
authorColin Ian King <colin.king@canonical.com>
Tue, 31 Oct 2017 10:40:00 +0000 (10:40 +0000)
committerSebastian Reichel <sre@kernel.org>
Mon, 6 Nov 2017 12:49:14 +0000 (13:49 +0100)
commit393ce139d5234a00200f9aaecb6048be138e0833
treec4e87a8c3e3e5db293fa1f0f1692a1c8b4b4e849
parentc09c65ca5c76cc50412fc65e5c91f5dff3e401c5
power: supply: generic-adc-battery: remove redundant variable pdata

Pointer pdata is assigned but never used, so remove it. Cleans up the
clang warning:

drivers/power/supply/generic-adc-battery.c:211:2: warning: Value
stored to 'pdata' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/generic-adc-battery.c