staging:rtl8192u: Make HTMcsToDataRate static - Style
The function HTMcsToDataRate() is not used outside the file in which it is defined, so has been declared as 'static' and the prototype removed from the header file. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
de26e5f2d5
Коммит
80c6783f5b
|
@ -2382,7 +2382,6 @@ u8 HTCCheck(struct ieee80211_device *ieee, u8 *pFrame);
|
|||
//extern void HTSetConnectBwModeCallback(unsigned long data);
|
||||
void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
|
||||
bool IsHTHalfNmodeAPs(struct ieee80211_device *ieee);
|
||||
u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
|
||||
u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate);
|
||||
//function in BAPROC.c
|
||||
int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb);
|
||||
|
|
|
@ -216,7 +216,7 @@ void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString)
|
|||
pHTInfoEle->BasicMSC[1], pHTInfoEle->BasicMSC[2], pHTInfoEle->BasicMSC[3], pHTInfoEle->BasicMSC[4]);
|
||||
}
|
||||
|
||||
u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate)
|
||||
static u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate)
|
||||
{
|
||||
PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче