diff --git a/internal/repository/packer_manager_test.go b/internal/repository/packer_manager_test.go index 0f3aea05f..bcc494075 100644 --- a/internal/repository/packer_manager_test.go +++ b/internal/repository/packer_manager_test.go @@ -23,13 +23,6 @@ func randomID(rd io.Reader) restic.ID { const maxBlobSize = 1 << 20 -func min(a, b int) int { - if a < b { - return a - } - return b -} - func fillPacks(t testing.TB, rnd *rand.Rand, pm *packerManager, buf []byte) (bytes int) { for i := 0; i < 102; i++ { l := rnd.Intn(maxBlobSize)