Browse Source

remove unused code

Darien Raymond 9 năm trước cách đây
mục cha
commit
56fb8c478c
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      common/io/reader.go

+ 0 - 6
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
 }