]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Don't clear active flag twice when probe() fails
authorSimon Glass <sjg@chromium.org>
Mon, 30 Dec 2019 04:19:16 +0000 (21:19 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 7 Jan 2020 23:02:38 +0000 (16:02 -0700)
commit9b465626087f945455d22958b06ffd73599196ae
treef983c44db2e47a972048878e2ef9b027865c17d6
parente0539e1ee04d99b220bee8cdbab020d48a7de6f0
dm: core: Don't clear active flag twice when probe() fails

Remove this duplicated code, since the 'fail' label does this immediately.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c