summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-09-21 10:17:57 -0700
committerGitHub <noreply@github.com>2020-09-21 10:17:57 -0700
commit5d7d83209178f788aab060344b1116fd40089ff3 (patch)
treec03f2235e48551ace751633e25a5c03072651ec6
parent53f2cd6d26fe29bc92cc47b9d1de3fa2e8e179fe (diff)
parent7137a96888425f224bad78b2e7484783f8d58ee0 (diff)
downloadchef-5d7d83209178f788aab060344b1116fd40089ff3.tar.gz
Merge pull request #10449 from 007lva/chore/remove-unused-method
Remove unused method
-rw-r--r--lib/chef/provider/link.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/chef/provider/link.rb b/lib/chef/provider/link.rb
index 1615d3ad14..900d0516af 100644
--- a/lib/chef/provider/link.rb
+++ b/lib/chef/provider/link.rb
@@ -33,15 +33,6 @@ class Chef
include Chef::Mixin::EnforceOwnershipAndPermissions
include Chef::Mixin::FileClass
- def negative_complement(big)
- if big > 1073741823 # Fixnum max
- big -= (2**32) # diminished radix wrap to negative
- end
- big
- end
-
- private :negative_complement
-
def load_current_resource
@current_resource = Chef::Resource::Link.new(new_resource.name)
current_resource.target_file(new_resource.target_file)