remove some unused functions
Signed-off-by: fupeng <p4n.foo@gmail.com>