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)
commita41e6daf0555b2461b3a3ae457bf9b9626e2d855
treef983c44db2e47a972048878e2ef9b027865c17d6
parentb2b1100a3bef7881ffeb1250a087e40d9672db26
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