diff options
author | 2013-03-18 20:55:41 -0700 | |
---|---|---|
committer | 2013-03-25 11:16:17 -0700 | |
commit | 96d69e201bbdb05c363e899138f9f42bc8ad8f88 (patch) | |
tree | f3ba7f8c5436cfbce1617f415febbd681fe78fd4 /drivers/staging/vt6655/datarate.c | |
parent | staging: vt6655: Fix macro definitions (diff) | |
download | linux-dev-96d69e201bbdb05c363e899138f9f42bc8ad8f88.tar.xz linux-dev-96d69e201bbdb05c363e899138f9f42bc8ad8f88.zip |
staging: vt6655: Remove unnecessary blank lines
Remove a bunch of useless vertical whitespace.
Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/datarate.c')
-rw-r--r-- | drivers/staging/vt6655/datarate.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/vt6655/datarate.c b/drivers/staging/vt6655/datarate.c index 32e4d4a116eb..e7b6bc7de4ac 100644 --- a/drivers/staging/vt6655/datarate.c +++ b/drivers/staging/vt6655/datarate.c @@ -45,12 +45,8 @@ /*--------------------- Static Definitions -------------------------*/ - - - /*--------------------- Static Classes ----------------------------*/ - extern unsigned short TxRate_iwconfig; //2008-5-8 <add> by chester /*--------------------- Static Variables --------------------------*/ //static int msglevel =MSG_LEVEL_DEBUG; @@ -68,8 +64,6 @@ void s_vResetCounter( PKnownNodeDB psNodeDBTable ); - - void s_vResetCounter( PKnownNodeDB psNodeDBTable @@ -86,10 +80,8 @@ s_vResetCounter( /*--------------------- Export Variables --------------------------*/ - /*--------------------- Export Functions --------------------------*/ - /*+ * * Description: @@ -121,8 +113,6 @@ DATARATEbyGetRateIdx( return 0; } - - /*+ * * Routine Description: @@ -141,9 +131,6 @@ DATARATEbyGetRateIdx( #define AUTORATE_TXCNT_THRESHOLD 20 #define AUTORATE_INC_THRESHOLD 30 - - - /*+ * * Description: @@ -214,7 +201,6 @@ RATEvParseMaxRate( unsigned short wOldBasicRate = pDevice->wBasicRate; unsigned int uRateLen; - if (pItemRates == NULL) return; @@ -247,7 +233,6 @@ RATEvParseMaxRate( } if ((pItemExtRates != NULL) && (pItemExtRates->byElementID == WLAN_EID_EXTSUPP_RATES) && (pDevice->eCurrentPHYType != PHY_TYPE_11B)) { - unsigned int uExtRateLen = pItemExtRates->len; if (uExtRateLen > WLAN_RATES_MAXLEN) @@ -288,7 +273,6 @@ RATEvParseMaxRate( DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Exit ParseMaxRate\n"); } - /*+ * * Routine Description: @@ -343,7 +327,6 @@ RATEvTxRateFallBack( psNodeDBTable->uTimeCount = 0; } - for (ii = 0; ii < MAX_RATE; ii++) { if (psNodeDBTable->wSuppRate & (0x0001<<ii)) { if (bAutoRate[ii] == true) { @@ -393,7 +376,6 @@ RATEvTxRateFallBack( // DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Rate: %d, U:%d, D:%d\n", psNodeDBTable->wTxDataRate, wIdxUpRate, wIdxDownRate); return; - } /*+ @@ -434,4 +416,3 @@ RATEuSetIE( } return (unsigned char)uRateCnt; } - |