extcon: max14577: Delete an unnecessary variable initialisation in max14577_muic_set_...
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Oct 2017 17:39:12 +0000 (19:39 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:00 +0000 (14:56 +0900)
commit017b5efa94bc5ede498b23e293a5932badc44f52
tree9e07d4cd72d84435af39c473a9a8ba2e8076879e
parente3ff76e56c98776137dbf256a51369ee08b3e1aa
extcon: max14577: Delete an unnecessary variable initialisation in max14577_muic_set_path()

The variable "ret" is immediately reassigned by a following statement.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-max14577.c