drivers: staging: vt6656: card.c, card.h: Remove useless function
PATCH 3/3 drivers: staging: vt6656: card.c, card.h: Remove useless function
This patch removes a function who is not used by anybody.
Signed-off-by Marcos Paulo de Souza <[email protected]>
--- drivers/staging/vt6656/card.c | 48 ----------------------------------------- drivers/staging/vt6656/card.h | 5 ---- 2 files changed, 0 insertions(+), 53 deletions(-)
drivers/staging/vt6656/card.c +0 -48
@@ -1056,51 +1056,3 @@ void CARDvSetBSSMode(void *pDeviceHandler) pDevice->abyBBVGA[3 ] =0x0 ; } } - -/* -* -* Description: -* Do Channel Switch defined in 802.11h -* -* Parameters: -* In: -* hDeviceContext - device structure point -* Out: -* none -* -* Return Value: none. -* --*/ -BOOL -CARDbChannelSwitch ( -void *pDeviceHandler, -BYTE byMode, -BYTE byNewChannel, -BYTE byCount - ) -{ -PSDevice pDevice = (PSDevice ) pDeviceHandler; -BOOL bResult = TRUE; - -if (byCount ==0 ) { - pDevice->sMgmtObj.uCurrChannel = byNewChannel; -CARDbSetMediaChannel (pDevice, byNewChannel); - -return bResult; - } - pDevice->byChannelSwitchCount = byCount; - pDevice->byNewChannel = byNewChannel; - pDevice->bChannelSwitch = TRUE; - -if (byMode ==1 ) { -//bResult=CARDbStopTxPacket(pDevice, PKT_TYPE_802_11_ALL); - pDevice->bStopDataPkt = TRUE; - } -return bResult; -} - - - - - -
drivers/staging/vt6656/card.h +0 -5
@@ -81,9 +81,4 @@ BOOL CARDbRadioPowerOn(void *pDeviceHandler);BYTE CARDbyGetPktType (void *pDeviceHandler);void CARDvSetBSSMode (void *pDeviceHandler); -BOOL CARDbChannelSwitch (void *pDeviceHandler, -BYTE byMode, -BYTE byNewChannel, -BYTE byCount); -#endif /* __CARD_H__ */
Signature · 1 line
1.7.4.4
Quoted 3 lines · Marcos Paulo de Souza
This patch removes a function who is not used by anybody.
Signed-off-by Marcos Paulo de Souza <[email protected]>
This patch doesn't apply :(