extcon: Drop unneeded assignments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Apr 2023 11:48:24 +0000 (14:48 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 May 2023 14:41:29 +0000 (23:41 +0900)
commit93e60cd5e00e63f29e896453e10c7ede4cd8e882
treed27dac292d8e932209753e20d9eb7b466598214c
parentef753fb4e86607afc6228d8632705122bc67f29a
extcon: Drop unneeded assignments

In one case the assignment is duplicative, in the other,
it's better to move it into the loop — the user of it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c