From 466d9855d4ee828c998ee3ea29e5685e38d3064e Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Tue, 28 Jul 2020 11:51:19 +0200 Subject: env: the ops driver load becomes mandatory in struct env_driver The ops driver load becomes mandatory in struct env_drive, change the comment for this ops and remove unnecessary test. Signed-off-by: Patrick Delaunay --- env/env.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'env') diff --git a/env/env.c b/env/env.c index bcc68c6bce..5cf5bd238f 100644 --- a/env/env.c +++ b/env/env.c @@ -187,9 +187,6 @@ int env_load(void) for (prio = 0; (drv = env_driver_lookup(ENVOP_LOAD, prio)); prio++) { int ret; - if (!drv->load) - continue; - if (!env_has_inited(drv->location)) continue; -- cgit v1.2.3