clean unused code

Signed-off-by: xiehuc <xiehuc@gmail.com>