power: supply: max14656: remove set but not used 'ret'
authorJason Yan <yanaijie@huawei.com>
Thu, 9 Apr 2020 08:54:01 +0000 (16:54 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 13 Apr 2020 21:01:54 +0000 (23:01 +0200)
commitf05ec5073fdea165d13624322d6fc4d295bccc65
tree19208ed9b4cef1cb46ef20849a9d07ea9cd4ffe2
parent87c3d579c8ed0eaea6b1567d529a8daa85a2bc6c
power: supply: max14656: remove set but not used 'ret'

Fix the following gcc warning:

drivers/power/supply/max14656_charger_detector.c:142:6: warning:
variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret = 0;
      ^~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max14656_charger_detector.c