]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - env/onenand.c
Merge branch '2023-05-16-remove-misuse-of-env-is-nowhere' into next
[thirdparty/u-boot.git] / env / onenand.c
index c8da3ff8114b7cee3261646afc608e3dfdde06b1..1faa2cb62a34ac99d2dd4ca048e5e2083b879d20 100644 (file)
@@ -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)