summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-03-10 13:26:14 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-03-20 14:38:01 -0700
commit3d6675cac2ac2463a7fa577d8d7a44bd18addd51 (patch)
treee29e4feb7e0b31e508fd23e2f24550b4b8fbef6b /lib/chef
parentf235a6e5e41f3d8c53d872aac4e4bd928b812dff (diff)
downloadchef-3d6675cac2ac2463a7fa577d8d7a44bd18addd51.tar.gz
Remove unused code
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/util/powershell/cmdlet.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/util/powershell/cmdlet.rb b/lib/chef/util/powershell/cmdlet.rb
index 4ad3656b57..ed18281b59 100644
--- a/lib/chef/util/powershell/cmdlet.rb
+++ b/lib/chef/util/powershell/cmdlet.rb
@@ -65,8 +65,6 @@ class Chef::Util::Powershell
augmented_options = {:returns => [0], :live_stream => false}.merge(execution_options)
command = Mixlib::ShellOut.new(command_string, augmented_options)
- os_architecture = "#{ENV['PROCESSOR_ARCHITEW6432']}" == 'AMD64' ? :x86_64 : :i386
-
status = nil
with_os_architecture(@node) do