remove unused global functions

Signed-off-by: Takashiro <takashiro@qq.com>