cleanup: remove unused waitCloser.

This commit is contained in:
Bala.FA
2016-06-07 07:28:43 +05:30
parent acc393ba8b
commit 2eb6fa3fce
2 changed files with 1 additions and 75 deletions

View File

@@ -53,7 +53,7 @@ func hashSum(disk StorageAPI, volume, path string, writer hash.Hash) ([]byte, er
if err == io.EOF {
break
}
if err != nil && err != io.EOF {
if err != nil {
return nil, err
}
writer.Write(buf[:n])