Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzyp committed Dec 7, 2015
1 parent 2dca854 commit 3756a39
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions sort/sort.go
Expand Up @@ -70,22 +70,3 @@ func chunk(comparators Comparators, numParts int64) []Comparators {
}
return parts
}

func returnInts() []int {
numCalls := 10
var wg sync.WaitGroup
wg.Add(numCalls)
ints := make([]int, numCalls)

for i := 0; i < numCalls; i++ {
go func(i int) {
result := someRandomDatastoreCall()
ints[i] = result
wg.Done()
}(i)
}

wg.Wait()

return ints
}

0 comments on commit 3756a39

Please sign in to comment.