Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Nov 20, 2016
1 parent 6c441e2 commit 56fb8c4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions common/io/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 56fb8c4

Please sign in to comment.