pkg/blobserver/encrypt: delete redundant err check

err is always nil at this point.

Change-Id: I5dec5e05911c8846badb531a8204894ebac0cdd9
This commit is contained in:
Jeremy Schlatter 2016-04-07 17:10:48 -07:00
parent 309fee1886
commit ecfefb748e
1 changed files with 0 additions and 3 deletions

View File

@ -232,9 +232,6 @@ func (s *storage) StatBlobs(dest chan<- blob.SizedRef, blobs []blob.Ref) error {
if !ok {
continue
}
if err != nil {
continue
}
dest <- blob.SizedRef{Ref: br, Size: plainSize}
}
return nil