diff options
author | 2021-11-23 15:53:01 +0100 | |
---|---|---|
committer | 2021-12-24 15:27:52 +0900 | |
commit | 2da3db7f498d8b6137566b4869d289938b69de13 (patch) | |
tree | bea5a047d1c5ecf7c14566e58faf0b137ed59eeb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | extcon: usb-gpio: fix a non-kernel-doc comment (diff) | |
download | wireguard-linux-2da3db7f498d8b6137566b4869d289938b69de13.tar.xz wireguard-linux-2da3db7f498d8b6137566b4869d289938b69de13.zip |
extcon: Deduplicate code in extcon_set_state_sync()
Finding the cable index and checking for changed status is also done
in extcon_set_state(). So calling extcon_set_state_sync() will do these
checks twice. Remove them and use these checks from extcon_set_state().
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions