i40e: trivial cleanup
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 14 Jan 2014 08:49:53 +0000 (00:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:56:00 +0000 (18:56 -0800)
Remove some un-necessary parenthesis.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c

index 101ed41073120efbfd9f3fc5ca127b6113cea9cb..d5d98fe2691dd6048f7edba7f6b4847076e5316d 100644 (file)
@@ -485,8 +485,7 @@ i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw,
                /* Make one big object, a single SD */
                info.count = 1;
                ret_code = i40e_create_lan_hmc_object(hw, &info);
-               if ((ret_code) &&
-                   (model == I40E_HMC_MODEL_DIRECT_PREFERRED))
+               if (ret_code && (model == I40E_HMC_MODEL_DIRECT_PREFERRED))
                        goto try_type_paged;
                else if (ret_code)
                        goto configure_lan_hmc_out;