diff --git a/lib/restclient/payload.rb b/lib/restclient/payload.rb
index <HASH>..<HASH> 100644
--- a/lib/restclient/payload.rb
+++ b/lib/restclient/payload.rb
@@ -9,7 +9,7 @@ module RestClient
     def generate(params)
       if params.is_a?(String)
         Base.new(params)
-      elsif params and params.is_a?(Hash)
+      elsif params.is_a?(Hash)
         if params.delete(:multipart) == true || has_file?(params)
           Multipart.new(params)
         else
removed a redudndant nil-check in payload.rb