From 56fb8c478cafbbfb870ccc71466a6c7bc81c8a50 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 20 Nov 2016 11:00:59 +0100 Subject: [PATCH] remove unused code --- common/io/reader.go | 6 ------ 1 file changed, 6 deletions(-) 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 }