raft: remove unnecessary funcs in raft.go

/cc @yichengq @bdarnell