[Finsh] code cleanup
fix the FINSH_USING_SYMTAB not defined and compiling error issue
[DFS] remove the unnecessary code