fix some coding style violations.

This patch fix some coding style violations.

Signed-off-by: Ilko Iliev <iliev@ronetix.at>
This commit is contained in:
Ilko Iliev 2008-12-02 17:20:17 +01:00 committed by Jean-Christophe PLAGNIOL-VILLARD
parent 2077e348c2
commit 03f797793b

View file

@ -184,8 +184,7 @@ void AT91F_DataflashSetEnv (void)
env = area_list[part].setenv;
/* Set the environment according to the label...*/
if((env & FLAG_SETENV) == FLAG_SETENV) {
start =
dataflash_info[i].Device.area_list[j].start;
start = dataflash_info[i].Device.area_list[j].start;
sprintf((char*) s,"%lX",start);
setenv((char*) area_list[part].label,(char*) s);
}