raft: remove unnecessary funcs in raft.go
Merge pull request #2003 from xiang90/raft_clean

raft: remove unnecessary funcs in raft.go