summaryrefslogtreecommitdiff
path: root/env/onenand.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/onenand.c')
-rw-r--r--env/onenand.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/env/onenand.c b/env/onenand.c
index c8da3ff811..1faa2cb62a 100644
--- a/env/onenand.c
+++ b/env/onenand.c
@@ -73,9 +73,7 @@ static int env_onenand_save(void)
#endif
loff_t env_addr = CONFIG_ENV_ADDR;
size_t retlen;
- struct erase_info instr = {
- .callback = NULL,
- };
+ struct erase_info instr = {};
ret = env_export(&env_new);
if (ret)