aboutsummaryrefslogtreecommitdiff
path: root/test/dm/blk.c
diff options
context:
space:
mode:
authorSimon Glass2020-12-16 21:20:13 -0700
committerSimon Glass2020-12-18 20:32:21 -0700
commita20b4a8cfb1e974c28a41024420268bc05e0779d (patch)
tree2f7ba96e8b65185b5fd3102b92aa6082b7d8738e /test/dm/blk.c
parent4153e3a5fb9519beaa3e2c2dedd7e152a45c5ab8 (diff)
dm: test: Drop assumptions of no sequence numbers
Drop code in a few tests which assumes that sequence numbers are only valid when a device is probed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/blk.c')
-rw-r--r--test/dm/blk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/dm/blk.c b/test/dm/blk.c
index 23940b3e031..a39a1ebd289 100644
--- a/test/dm/blk.c
+++ b/test/dm/blk.c
@@ -19,9 +19,6 @@ static int dm_test_blk_base(struct unit_test_state *uts)
{
struct udevice *blk1, *blk3, *dev;
- /* Make sure there are no block devices */
- ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_BLK, 0, &dev));
-
/* Create two, one the parent of the other */
ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test",
IF_TYPE_HOST, 1, 512, 2, &blk1));