mirror of https://gitee.com/openkylin/linux.git
rtlwifi: rtl8821ae: Remove extra semicolons
The kbuild test robot reports that there are extra semicolons in this driver. All of them are caused by using "};" rather than "}" at the end of a switch statement. This patch does not change any functionality. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Murilo Opsfelder Araujo <mopsfelder@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
3fe33c4cec
commit
09fa9d87ca
|
@ -800,7 +800,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|||
"Invalid RateSection %d in Band 2.4G,Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
||||
rate_section, path, txnum);
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else if (band == BAND_ON_5G) {
|
||||
switch (rate_section) {
|
||||
case OFDM:
|
||||
|
@ -823,7 +823,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|||
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
||||
rate_section, path, txnum);
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else {
|
||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
||||
"Invalid Band %d in PHY_SetTxPowerByRateBase()\n", band);
|
||||
|
@ -870,7 +870,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|||
"Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
||||
rate_section, path, txnum);
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else if (band == BAND_ON_5G) {
|
||||
switch (rate_section) {
|
||||
case OFDM:
|
||||
|
@ -893,7 +893,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|||
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
||||
rate_section, path, txnum);
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else {
|
||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
||||
"Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band);
|
||||
|
@ -3743,7 +3743,7 @@ static void _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw,
|
|||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
|
||||
|
@ -3764,7 +3764,7 @@ static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
|
|||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#define cal_num 10
|
||||
|
|
Loading…
Reference in New Issue