重构下，把用不到的代码去掉

Signed-off-by: Meathill <meathill@gmail.com>