remove useless codes

This commit is contained in:
andy pan 2018-07-06 14:32:19 +08:00
parent 5c1e3a17bb
commit bd3ca2489e
1 changed files with 0 additions and 6 deletions

View File

@ -70,9 +70,3 @@ var (
ErrPoolClosed = errors.New("this pool has been closed")
)
var workerArgsCap = func() int {
if runtime.GOMAXPROCS(0) == 1 {
return 0
}
return 1
}()