remove unused function... again...
remove unused function... again...

@shamse please compile with these
compiler flags:

-Wall -Wextra -Werror

yangf4/core,yangf4/core,yangf4/core,yangf4/core,yangf4/core