summaryrefslogtreecommitdiff
path: root/test/dm/devres.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/devres.c')
-rw-r--r--test/dm/devres.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/dm/devres.c b/test/dm/devres.c
index 550787495d..b5de0cb191 100644
--- a/test/dm/devres.c
+++ b/test/dm/devres.c
@@ -153,7 +153,6 @@ static int dm_test_devres_phase(struct unit_test_state *uts)
* allocation created in the bind() method.
*/
ut_assertok(uclass_find_first_device(UCLASS_TEST_DEVRES, &dev));
- ut_assertnonnull(dev);
devres_get_stats(dev, &stats);
ut_asserteq(1, stats.allocs);
ut_asserteq(TEST_DEVRES_SIZE, stats.total_size);