diff --git a/src/restic/checker/checker_test.go b/src/restic/checker/checker_test.go index 075bd4a86..c1df97072 100644 --- a/src/restic/checker/checker_test.go +++ b/src/restic/checker/checker_test.go @@ -209,15 +209,6 @@ type errorBackend struct { ProduceErrors bool } -func (b errorBackend) Load(h restic.Handle, p []byte, off int64) (int, error) { - n, err := b.Backend.Load(h, p, off) - - if b.ProduceErrors { - induceError(p) - } - return n, err -} - func (b errorBackend) Get(h restic.Handle, length int, offset int64) (io.ReadCloser, error) { rd, err := b.Backend.Get(h, length, offset) if err != nil {