raft: remove unused code
Merge pull request #1420 from xiangli-cmu/clean_log

raft: remove unused code