integration_performance tests: add comment describing how to run the tests; also...
[arvados.git] / services / keepstore / bufferpool.go
index 0b216d76bff893fa30379a4003963431a9d309e9..373bfc75a1ca251b0bf851bfe45dfe78fc635ae7 100644 (file)
@@ -39,8 +39,6 @@ func (p *bufferPool) Get(size int) []byte {
 }
 
 func (p *bufferPool) Put(buf []byte) {
-       if buf != nil {
-               p.Pool.Put(buf)
-               <-p.limiter
-       }
+       p.Pool.Put(buf)
+       <-p.limiter
 }