power: reset: ltc2952: remove unused variable
authorHongbo Yao <yaohongbo@huawei.com>
Sat, 9 May 2020 10:36:11 +0000 (18:36 +0800)
committerSebastian Reichel <sre@kernel.org>
Sat, 9 May 2020 23:20:41 +0000 (01:20 +0200)
commit1072ceada4586f7c1d316a0dd9fa751a7055969c
treea4a55ff0847734379a95695716909cf5eae90f98
parent934ed3847a4ebc75b655659c4d2349ba4337941c
power: reset: ltc2952: remove unused variable

Fix gcc '-Wunused-but-set-variable' warning:
drivers/power/reset/ltc2952-poweroff.c:97:16: warning: variable
‘overruns’ set but not used [-Wunused-but-set-variable]
  unsigned long overruns;

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Hongbo Yao <yaohongbo@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/ltc2952-poweroff.c