summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-15 23:55:22 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-16 13:15:38 -0700
commit321cda9a730ecb561ffa536eb47bc3397d378104 (patch)
tree298e3cf7f1e6215165881594786fe4aa1787b5bf /lib
parent7ee8b83c78bed43add0e74144a27e51e5825dc30 (diff)
downloadchef-321cda9a730ecb561ffa536eb47bc3397d378104.tar.gz
Resolve Lint/RedundantRequireStatement warnings
These are required by Ruby out of the box so lets avoid trying to require them again. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/chef_fs/parallelizer.rb1
-rw-r--r--lib/chef/util/threaded_job_queue.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/chef_fs/parallelizer.rb b/lib/chef/chef_fs/parallelizer.rb
index be7d93c669..c4d17a842d 100644
--- a/lib/chef/chef_fs/parallelizer.rb
+++ b/lib/chef/chef_fs/parallelizer.rb
@@ -1,4 +1,3 @@
-require "thread"
require_relative "parallelizer/parallel_enumerable"
class Chef
diff --git a/lib/chef/util/threaded_job_queue.rb b/lib/chef/util/threaded_job_queue.rb
index efbb67216f..bce25e9225 100644
--- a/lib/chef/util/threaded_job_queue.rb
+++ b/lib/chef/util/threaded_job_queue.rb
@@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require "thread"
-
class Chef
class Util
# A simple threaded job queue