diff --git a/common/io/reader.go b/common/io/reader.go index a2d2dbb82..3355f1014 100644 --- a/common/io/reader.go +++ b/common/io/reader.go @@ -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 }