[Finsh] cleanup the code style

This commit is contained in:
bernard 2014-01-03 07:15:25 +08:00
parent b924104129
commit 8a56e181bd
1 changed files with 369 additions and 372 deletions

View File

@ -35,7 +35,6 @@
* initialization when use GNU GCC compiler.
*/
#include <rtthread.h>
#include <rthw.h>
#include "finsh.h"
@ -653,8 +652,6 @@ int finsh_system_init(void)
shell = &_shell;
#endif
rt_kprintf("shell tcb size: %d\n", sizeof(struct finsh_shell));
memset(shell, 0, sizeof(struct finsh_shell));
rt_sem_init(&(shell->rx_sem), "shrx", 0, 0);