diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-16 21:20:32 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-18 20:32:21 -0700 |
commit | 7f20d1d24989fedaad28689c0454f91d44453e80 (patch) | |
tree | f185c71d1f3f35bbcbff8fddd6551f05d309ec75 /drivers/core/device-remove.c | |
parent | 36c03d183041e57714a909f6d020ac10ef279e3b (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index 9f7615dea72..289220b98e8 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; } |