summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2016-10-27 14:07:09 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2016-10-27 14:07:09 +1100
commit0111c2c9347204f5b69905ab0c20557285c65d23 (patch)
tree93940adab86528cf96256227719513c3078736d3
parent8d7793cda75acfa37e07b39c525c25a9e993655c (diff)
parent1b97f382c5cf48b9c821ebfd1feab895e99a68b6 (diff)
Merge branch 'akpm/master'
-rw-r--r--drivers/net/wireless/intel/iwlwifi/dvm/calib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/calib.c b/drivers/net/wireless/intel/iwlwifi/dvm/calib.c
index e9cef9de9ed8..c96f9b1d948a 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/calib.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/calib.c
@@ -900,8 +900,7 @@ static void iwlagn_gain_computation(struct iwl_priv *priv,
/* bound gain by 2 bits value max, 3rd bit is sign */
data->delta_gain_code[i] =
- min(abs(delta_g),
- (s32) CHAIN_NOISE_MAX_DELTA_GAIN_CODE);
+ min(abs(delta_g), CHAIN_NOISE_MAX_DELTA_GAIN_CODE);
if (delta_g < 0)
/*