diff --git a/ants.go b/ants.go index 3573b1c..d8755eb 100644 --- a/ants.go +++ b/ants.go @@ -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 -}()