chunker: Further cleanup

This commit is contained in:
Alexander Neumann committed 2015-05-05 00:56:07 +02:00
1 parent ea22b2dfb1
commit f79e530e18
2 files changed
+1 -4

No files matched your search

+1 -2
View File
@@ -86,8 +86,7 @@ type Chunker struct {
}
// New returns a new Chunker based on polynomial p that reads from rd
// with bufsize and pass all data to hash along the way, using buf for
// buffering.
// with bufsize and pass all data to hash along the way.
func New(rd io.Reader, pol Pol, h hash.Hash) *Chunker {
c := &Chunker{
buf: bufPool.Get().([]byte),