Remove redundant code

This commit is contained in:
Andy Wang 2020-01-24 13:30:17 +00:00
parent f90ad52455
commit 13b66f6fef

View File

@ -44,7 +44,6 @@ type streamBuffer struct {
recvM sync.Mutex recvM sync.Mutex
nextRecvSeq uint64 nextRecvSeq uint64
rev int
sh sorterHeap sh sorterHeap
buf *bufferedPipe buf *bufferedPipe
@ -53,7 +52,6 @@ type streamBuffer struct {
func NewStreamBuffer() *streamBuffer { func NewStreamBuffer() *streamBuffer {
sb := &streamBuffer{ sb := &streamBuffer{
sh: []*Frame{}, sh: []*Frame{},
rev: 0,
buf: NewBufferedPipe(), buf: NewBufferedPipe(),
} }
return sb return sb