Skip to content
Snippets Groups Projects
Commit dcfe6e6f authored by Igor Grinberg's avatar Igor Grinberg Committed by Stefano Babic
Browse files

env: clean env_nowhere.c checkpatch and code style


Cleanup the env_nowhere.c checkpatch warnings, errors and coding style.

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent d09b1787
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
env_t *env_ptr = NULL; env_t *env_ptr;
void env_relocate_spec(void) void env_relocate_spec(void)
{ {
...@@ -39,7 +39,7 @@ void env_relocate_spec(void) ...@@ -39,7 +39,7 @@ void env_relocate_spec(void)
uchar env_get_char_spec(int index) uchar env_get_char_spec(int index)
{ {
return ( *((uchar *)(gd->env_addr + index)) ); return *((uchar *)(gd->env_addr + index));
} }
/* /*
...@@ -52,5 +52,5 @@ int env_init(void) ...@@ -52,5 +52,5 @@ int env_init(void)
gd->env_addr = (ulong)&default_environment[0]; gd->env_addr = (ulong)&default_environment[0];
gd->env_valid = 0; gd->env_valid = 0;
return (0); return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment