mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-24 01:33:14 +00:00
remove unused code
This commit is contained in:
@@ -38,12 +38,6 @@ func (this *AdaptiveReader) Read() (*alloc.Buffer, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
//if buffer.Len() >= alloc.BufferSize {
|
||||
// this.allocate = alloc.NewLargeBuffer
|
||||
//} else {
|
||||
// this.allocate = alloc.NewBuffer
|
||||
//}
|
||||
|
||||
return buffer, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user