raft/log: remove redundant code logic (#12346)
raft/log: remove redundant code logic (#12346)

Remove redundant code logic

Co-authored-by: yangweiwei <33fc25558a93f1e532e6b30315ef2dcdcd4fc63f@cmss.chinamobile.com>
mkumatag/etcd,coreos/etcd,gyuho/etcd,li-ang/etcd,ajityagaty/etcd,coreos/etcd,ajityagaty/etcd,etcd-io/etcd,ajityagaty/etcd,etcd-io/etcd,mqliang/etcd,mqliang/etcd,etcd-io/etcd,rnaveiras/etcd,li-ang/etcd,mkumatag/etcd,gyuho/etcd,mqliang/etcd,mkumatag/etcd,rnaveiras/etcd,rnaveiras/etcd