mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-03 23:15:18 +00:00
Remove redundant code
This commit is contained in:
parent
f90ad52455
commit
13b66f6fef
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user