提交 d923b020 编写于 作者: L Luca Coelho 提交者: Kalle Valo

iwlwifi: mvm: remove else-if in iwl_send_phy_cfg_cmd()

We return in the if block, so it's unnecessary to have an else
statement.  Remove it.
Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 bb99ff9b
......@@ -515,9 +515,10 @@ static int iwl_send_phy_cfg_cmd(struct iwl_mvm *mvm)
enum iwl_ucode_type ucode_type = mvm->fwrt.cur_fw_img;
if (iwl_mvm_has_unified_ucode(mvm) &&
!mvm->trans->cfg->tx_with_siso_diversity) {
!mvm->trans->cfg->tx_with_siso_diversity)
return 0;
} else if (mvm->trans->cfg->tx_with_siso_diversity) {
if (mvm->trans->cfg->tx_with_siso_diversity) {
/*
* TODO: currently we don't set the antenna but letting the NIC
* to decide which antenna to use. This should come from BIOS.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册