remove redundancy code

This commit is contained in:
Z.Q.K 2022-06-25 12:15:48 +08:00 committed by Andy Pan
parent f85611741e
commit 32664cb140
1 changed files with 0 additions and 2 deletions

View File

@ -5,13 +5,11 @@ import "time"
type workerStack struct {
items []*goWorker
expiry []*goWorker
size int
}
func newWorkerStack(size int) *workerStack {
return &workerStack{
items: make([]*goWorker, 0, size),
size: size,
}
}