iwlwifi: dvm: excessive if in rs_bt_update_lq()
There is no need to check 'priv->bt_ant_couple_ok' twice in rs_bt_update_lq(). The second check is always true. Thus, the expression can be simplified. Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
e8503aeca3
commit
e7babbe31f
@ -851,7 +851,7 @@ static void rs_bt_update_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
|
|||||||
* Is there a need to switch between
|
* Is there a need to switch between
|
||||||
* full concurrency and 3-wire?
|
* full concurrency and 3-wire?
|
||||||
*/
|
*/
|
||||||
if (priv->bt_ci_compliance && priv->bt_ant_couple_ok)
|
if (priv->bt_ci_compliance)
|
||||||
full_concurrent = true;
|
full_concurrent = true;
|
||||||
else
|
else
|
||||||
full_concurrent = false;
|
full_concurrent = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user