projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfe6e6
)
env: clean env_mgdisk.c checkpatch and code style
author
Igor Grinberg
<grinberg@compulab.co.il>
Mon, 7 Nov 2011 01:14:01 +0000
(
01:14
+0000)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 22 Nov 2011 07:39:25 +0000
(08:39 +0100)
Cleanup the env_mgdisk.c checkpatch warnings, errors
and coding style.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
common/env_mgdisk.c
patch
|
blob
|
history
diff --git
a/common/env_mgdisk.c
b/common/env_mgdisk.c
index b95d85e87231f35b871021798c7d3e7282feec69..5dd92e709c831982eb4d556bf94e5ae3aeb5d4b1 100644
(file)
--- a/
common/env_mgdisk.c
+++ b/
common/env_mgdisk.c
@@
-29,13
+29,13
@@
char *env_name_spec = "MG_DISK";
-env_t *env_ptr
= 0
;
+env_t *env_ptr;
DECLARE_GLOBAL_DATA_PTR;
uchar env_get_char_spec(int index)
{
- return
(*((uchar *)(gd->env_addr + index)
));
+ return
*((uchar *)(gd->env_addr + index
));
}
void env_relocate_spec(void)