summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-07-28 12:51:19 +0300
committerTom Rini <trini@konsulko.com>2020-07-31 17:13:00 +0300
commit466d9855d4ee828c998ee3ea29e5685e38d3064e (patch)
tree8927afc844dde543caecf1710dea61dd8d1ae912 /env
parentad3fec2364ebfc896ce5bd5269f56df9f0c3e5a9 (diff)
downloadu-boot-466d9855d4ee828c998ee3ea29e5685e38d3064e.tar.xz
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 <patrick.delaunay@st.com>
Diffstat (limited to 'env')
-rw-r--r--env/env.c3
1 files changed, 0 insertions, 3 deletions
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;