Skip to content

Commit

Permalink
staging: vt6656: card.c: Change return of CARDbAddBasicRate to void
Browse files Browse the repository at this point in the history
In all locations that call this function ignore your returna, so remove
it.

Signed-off-by: Marcos Paulo de Souza <[email protected]>
Cc: Forest Bond <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Marcos Paulo de Souza authored and gregkh committed Nov 30, 2011
1 parent ca76ede commit fee6433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions drivers/staging/vt6656/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -616,8 +616,6 @@ WORD wRate = (WORD)(1<<wRateIdx);

//Determines the highest basic rate.
CARDvUpdateBasicTopRate(pDevice);

return(TRUE);
}

BOOL CARDbIsOFDMinBasicRate(void *pDeviceHandler)
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fee6433

Please sign in to comment.