summaryrefslogtreecommitdiff
path: root/drivers/core/device-remove.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-17 07:20:32 +0300
committerSimon Glass <sjg@chromium.org>2020-12-19 06:32:21 +0300
commit7f20d1d24989fedaad28689c0454f91d44453e80 (patch)
treef185c71d1f3f35bbcbff8fddd6551f05d309ec75 /drivers/core/device-remove.c
parent36c03d183041e57714a909f6d020ac10ef279e3b (diff)
downloadu-boot-7f20d1d24989fedaad28689c0454f91d44453e80.tar.xz
dm: core: Drop seq and req_seq
Now that migration to the new sequence numbers is complete, drop the old fields. Add a test that covers the new behaviour. Also drop the check for OF_PRIOR_STAGE since we always assign sequence numbers now. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/device-remove.c')
-rw-r--r--drivers/core/device-remove.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c
index 9f7615dea7..289220b98e 100644
--- a/drivers/core/device-remove.c
+++ b/drivers/core/device-remove.c
@@ -207,7 +207,6 @@ int device_remove(struct udevice *dev, uint flags)
if (flags_remove(flags, drv->flags)) {
device_free(dev);
- dev->seq = -1;
dev->flags &= ~DM_FLAG_ACTIVATED;
}