remove the useless code

remove the useless code