env: Drop common init() functions
[oweals/u-boot.git] / env / remote.c
index 0324cba099b6703696d522d174e243681e316547..c5dce5b9662cb5af1647836745020b0560568561 100644 (file)
@@ -33,9 +33,7 @@ static int env_remote_init(void)
                return 0;
        }
 
-       gd->env_addr = (ulong)default_environment;
-       gd->env_valid = 0;
-       return 0;
+       return -ENOENT;
 }
 
 #ifdef CONFIG_CMD_SAVEENV