From 472cf7f523bc599a471264e17daa7c644f800b4e Mon Sep 17 00:00:00 2001 From: V2Ray Date: Thu, 8 Oct 2015 15:53:32 +0200 Subject: [PATCH] Remove commented code --- common/alloc/buffer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/alloc/buffer.go b/common/alloc/buffer.go index f1ae5ff07..25c343a69 100644 --- a/common/alloc/buffer.go +++ b/common/alloc/buffer.go @@ -1,7 +1,6 @@ package alloc import ( - //"fmt" "time" ) @@ -55,7 +54,6 @@ func newBufferPool(allocator func(*bufferPool) *Buffer, elements2Keep, size int) } func (p *bufferPool) allocate() *Buffer { - //fmt.Printf("Pool size: %d\n", len(p.chain)) var b *Buffer select { case b = <-p.chain: @@ -71,7 +69,6 @@ func (p *bufferPool) free(buffer *Buffer) { case p.chain <- buffer: default: } - //fmt.Printf("Pool size: %d\n", len(p.chain)) } func (p *bufferPool) cleanup(tick <-chan time.Time) {