Explorar o código

remove unused code

Darien Raymond %!s(int64=9) %!d(string=hai) anos
pai
achega
56fb8c478c
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  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
 }