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
nextRecvSeq uint64
rev int
sh sorterHeap
buf *bufferedPipe
@ -53,7 +52,6 @@ type streamBuffer struct {
func NewStreamBuffer() *streamBuffer {
sb := &streamBuffer{
sh: []*Frame{},
rev: 0,
buf: NewBufferedPipe(),
}
return sb