b2: Remove extra error check

This commit is contained in:
Alexander Neumann 2018-05-26 10:12:30 +02:00
parent 1892b314f8
commit 2a976d795f

View file

@ -295,10 +295,6 @@ func (be *b2Backend) List(ctx context.Context, t restic.FileType, fn func(restic
return ctx.Err()
}
if ctx.Err() != nil {
return ctx.Err()
}
attrs, err := obj.Attrs(ctx)
if err != nil {
return err