staging: vt6656: card.c: Change return of CARDbAddBasicRate to void
authorMarcos Paulo de Souza <marcos.mage@gmail.com>
Wed, 30 Nov 2011 02:19:44 +0000 (00:19 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 10:28:19 +0000 (19:28 +0900)
In all locations that call this function ignore your returna, so remove
it.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
Cc: Forest Bond <forest@alittletooquiet.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6656/card.c
drivers/staging/vt6656/card.h

index a49053bd7c65e1977fcbfb8ef3951c0cad290ae3..1574e8e49d1a271d2c8e72258333f26d85f0d076 100644 (file)
@@ -607,7 +607,7 @@ BYTE ii;
  * Return Value: TRUE if succeeded; FALSE if failed.
  *
  */
-BOOL CARDbAddBasicRate(void *pDeviceHandler, WORD wRateIdx)
+void CARDbAddBasicRate(void *pDeviceHandler, WORD wRateIdx)
 {
 PSDevice    pDevice = (PSDevice) pDeviceHandler;
 WORD wRate = (WORD)(1<<wRateIdx);
@@ -616,8 +616,6 @@ WORD wRate = (WORD)(1<<wRateIdx);
 
     //Determines the highest basic rate.
     CARDvUpdateBasicTopRate(pDevice);
-
-    return(TRUE);
 }
 
 BOOL CARDbIsOFDMinBasicRate(void *pDeviceHandler)
index 6c91343d0d1443f7cf7b3ac5969330b654575f90..c5795708ad5cf8a8b92dd6b26e11085ccff727c5 100644 (file)
@@ -65,7 +65,7 @@ BOOL CARDbSetMediaChannel(void *pDeviceHandler,
 void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType);
 void vUpdateIFS(void *pDeviceHandler);
 void CARDvUpdateBasicTopRate(void *pDeviceHandler);
-BOOL CARDbAddBasicRate(void *pDeviceHandler, WORD wRateIdx);
+void CARDbAddBasicRate(void *pDeviceHandler, WORD wRateIdx);
 BOOL CARDbIsOFDMinBasicRate(void *pDeviceHandler);
 void CARDvAdjustTSF(void *pDeviceHandler, BYTE byRxRate,
                    QWORD qwBSSTimestamp, QWORD qwLocalTSF);