Skip to content

Commit

Permalink
Staging: vt6655: remove OUT definition
Browse files Browse the repository at this point in the history
Remove empty OUT definition used to specify output parameters.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed May 14, 2010
1 parent 3a215e0 commit 3cdec55
Show file tree
Hide file tree
Showing 19 changed files with 114 additions and 114 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/vt6655/baseband.c
Original file line number Diff line number Diff line change
Expand Up @@ -1849,9 +1849,9 @@ BBvCaculateParameter (
UINT cbFrameLength,
WORD wRate,
BYTE byPacketType,
OUT PWORD pwPhyLen,
OUT PBYTE pbyPhySrv,
OUT PBYTE pbyPhySgn
PWORD pwPhyLen,
PBYTE pbyPhySrv,
PBYTE pbyPhySgn
)
{
UINT cbBitCount;
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/vt6655/baseband.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ BBvCaculateParameter (
UINT cbFrameLength,
WORD wRate,
BYTE byPacketType,
OUT PWORD pwPhyLen,
OUT PBYTE pbyPhySrv,
OUT PBYTE pbyPhySgn
PWORD pwPhyLen,
PBYTE pbyPhySrv,
PBYTE pbyPhySgn
);

BOOL BBbReadEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, PBYTE pbyData);
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/vt6655/bssdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ BOOL
BSSDBbIsSTAInNodeDB(
void *pMgmtObject,
PBYTE abyDstAddr,
OUT PUINT puNodeIndex
PUINT puNodeIndex
)
{
PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject;
Expand Down Expand Up @@ -800,7 +800,7 @@ BSSDBbIsSTAInNodeDB(
void
BSSvCreateOneNode(
void *hDeviceContext,
OUT PUINT puNodeIndex
PUINT puNodeIndex
)
{

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/vt6655/bssdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,13 @@ BOOL
BSSDBbIsSTAInNodeDB(
void *hDeviceContext,
PBYTE abyDstAddr,
OUT PUINT puNodeIndex
PUINT puNodeIndex
);

void
BSSvCreateOneNode(
void *hDeviceContext,
OUT PUINT puNodeIndex
PUINT puNodeIndex
);

void
Expand Down
20 changes: 10 additions & 10 deletions drivers/staging/vt6655/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ void
s_vCaculateOFDMRParameter(
BYTE byRate,
CARD_PHY_TYPE ePHYType,
OUT PBYTE pbyTxRate,
OUT PBYTE pbyRsvTime
PBYTE pbyTxRate,
PBYTE pbyRsvTime
);


Expand Down Expand Up @@ -500,8 +500,8 @@ void
s_vCaculateOFDMRParameter (
BYTE byRate,
CARD_PHY_TYPE ePHYType,
OUT PBYTE pbyTxRate,
OUT PBYTE pbyRsvTime
PBYTE pbyTxRate,
PBYTE pbyRsvTime
)
{
switch (byRate) {
Expand Down Expand Up @@ -2130,8 +2130,8 @@ CARDvSetPowerConstraint (
void
CARDvGetPowerCapability (
void *pDeviceHandler,
OUT PBYTE pbyMinPower,
OUT PBYTE pbyMaxPower
PBYTE pbyMinPower,
PBYTE pbyMaxPower
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
Expand Down Expand Up @@ -2166,7 +2166,7 @@ CARDvGetPowerCapability (
BYTE
CARDbySetSupportChannels (
void *pDeviceHandler,
OUT PBYTE pbyIEs
PBYTE pbyIEs
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
Expand Down Expand Up @@ -2268,7 +2268,7 @@ CARDbyGetTransmitPower (
BOOL
CARDbChannelGetList (
UINT uCountryCodeIdx,
OUT PBYTE pbyChannelTable
PBYTE pbyChannelTable
)
{
if (uCountryCodeIdx >= CCODE_MAX) {
Expand Down Expand Up @@ -2309,8 +2309,8 @@ BOOL
CARDbGetChannelMapInfo(
void *pDeviceHandler,
UINT uChannelIndex,
OUT PBYTE pbyChannelNumber,
OUT PBYTE pbyMap
PBYTE pbyChannelNumber,
PBYTE pbyMap
)
{
// PSDevice pDevice = (PSDevice) pDeviceHandler;
Expand Down
12 changes: 6 additions & 6 deletions drivers/staging/vt6655/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,14 @@ CARDvSetPowerConstraint (
void
CARDvGetPowerCapability (
void *pDeviceHandler,
OUT PBYTE pbyMinPower,
OUT PBYTE pbyMaxPower
PBYTE pbyMinPower,
PBYTE pbyMaxPower
);

BYTE
CARDbySetSupportChannels (
void *pDeviceHandler,
OUT PBYTE pbyIEs
PBYTE pbyIEs
);

I8
Expand All @@ -213,7 +213,7 @@ CARDbyGetTransmitPower (
BOOL
CARDbChannelGetList (
UINT uCountryCodeIdx,
OUT PBYTE pbyChannelTable
PBYTE pbyChannelTable
);

void
Expand All @@ -226,8 +226,8 @@ BOOL
CARDbGetChannelMapInfo(
void *pDeviceHandler,
UINT uChannelIndex,
OUT PBYTE pbyChannelNumber,
OUT PBYTE pbyMap
PBYTE pbyChannelNumber,
PBYTE pbyMap
);

void
Expand Down
10 changes: 5 additions & 5 deletions drivers/staging/vt6655/datarate.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ RATEvParseMaxRate (
PWLAN_IE_SUPP_RATES pItemRates,
PWLAN_IE_SUPP_RATES pItemExtRates,
BOOL bUpdateBasicRate,
OUT PWORD pwMaxBasicRate,
OUT PWORD pwMaxSuppRate,
OUT PWORD pwSuppRate,
OUT PBYTE pbyTopCCKRate,
OUT PBYTE pbyTopOFDMRate
PWORD pwMaxBasicRate,
PWORD pwMaxSuppRate,
PWORD pwSuppRate,
PBYTE pbyTopCCKRate,
PBYTE pbyTopOFDMRate
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
Expand Down
10 changes: 5 additions & 5 deletions drivers/staging/vt6655/datarate.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ RATEvParseMaxRate(
PWLAN_IE_SUPP_RATES pItemRates,
PWLAN_IE_SUPP_RATES pItemExtRates,
BOOL bUpdateBasicRate,
OUT PWORD pwMaxBasicRate,
OUT PWORD pwMaxSuppRate,
OUT PWORD pwSuppRate,
OUT PBYTE pbyTopCCKRate,
OUT PBYTE pbyTopOFDMRate
PWORD pwMaxBasicRate,
PWORD pwMaxSuppRate,
PWORD pwSuppRate,
PBYTE pbyTopCCKRate,
PBYTE pbyTopOFDMRate
);

void
Expand Down
40 changes: 20 additions & 20 deletions drivers/staging/vt6655/dpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ static
void
s_vGetDASA(
PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize,
OUT PSEthernetHeader psEthHeader
PUINT pcbHeaderSize,
PSEthernetHeader psEthHeader
);

static
Expand All @@ -95,7 +95,7 @@ s_vProcessRxMACHeader (
UINT cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
OUT PUINT pcbHeadSize
PUINT pcbHeadSize
);

static BOOL s_bAPModeRxCtl(
Expand All @@ -121,11 +121,11 @@ static BOOL s_bHandleRxEncryption(
PBYTE pbyFrame,
UINT FrameSize,
PBYTE pbyRsr,
OUT PBYTE pbyNewRsr,
OUT PSKeyItem *pKeyOut,
PBYTE pbyNewRsr,
PSKeyItem *pKeyOut,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
);

static BOOL s_bHostWepRxEncryption(
Expand All @@ -136,10 +136,10 @@ static BOOL s_bHostWepRxEncryption(
PBYTE pbyRsr,
BOOL bOnFly,
PSKeyItem pKey,
OUT PBYTE pbyNewRsr,
PBYTE pbyNewRsr,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16

);

Expand Down Expand Up @@ -170,7 +170,7 @@ s_vProcessRxMACHeader (
UINT cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
OUT PUINT pcbHeadSize
PUINT pcbHeadSize
)
{
PBYTE pbyRxBuffer;
Expand Down Expand Up @@ -265,8 +265,8 @@ static
void
s_vGetDASA (
PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize,
OUT PSEthernetHeader psEthHeader
PUINT pcbHeaderSize,
PSEthernetHeader psEthHeader
)
{
UINT cbHeaderSize = 0;
Expand Down Expand Up @@ -1167,11 +1167,11 @@ static BOOL s_bHandleRxEncryption (
PBYTE pbyFrame,
UINT FrameSize,
PBYTE pbyRsr,
OUT PBYTE pbyNewRsr,
OUT PSKeyItem *pKeyOut,
PBYTE pbyNewRsr,
PSKeyItem *pKeyOut,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
)
{
UINT PayloadLen = FrameSize;
Expand Down Expand Up @@ -1315,10 +1315,10 @@ static BOOL s_bHostWepRxEncryption (
PBYTE pbyRsr,
BOOL bOnFly,
PSKeyItem pKey,
OUT PBYTE pbyNewRsr,
PBYTE pbyNewRsr,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
)
{
UINT PayloadLen = FrameSize;
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/vt6655/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ BOOL KeybGetKey (
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyIndex,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i;
Expand Down Expand Up @@ -521,7 +521,7 @@ BOOL KeybGetTransmitKey (
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyType,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i, ii;
Expand Down Expand Up @@ -599,7 +599,7 @@ BOOL KeybGetTransmitKey (
*/
BOOL KeybCheckPairewiseKey (
PSKeyManagement pTable,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i;
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/vt6655/key.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ BOOL KeybGetKey(
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyIndex,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);

BOOL KeybSetKey(
Expand Down Expand Up @@ -144,12 +144,12 @@ BOOL KeybGetTransmitKey(
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyType,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);

BOOL KeybCheckPairewiseKey(
PSKeyManagement pTable,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);

BOOL KeybRemoveAllKey(
Expand Down
12 changes: 6 additions & 6 deletions drivers/staging/vt6655/rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ s_vFillTxKey(
PSKeyItem pTransmitKey,
PBYTE pbyHdrBuf,
WORD wPayloadLen,
OUT PBYTE pMICHDR
PBYTE pMICHDR
);


Expand Down Expand Up @@ -184,7 +184,7 @@ s_cbFillTxBufHead (
BOOL bNeedEncrypt,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum
PUINT puMACfragNum
);


Expand Down Expand Up @@ -218,7 +218,7 @@ s_vFillTxKey (
PSKeyItem pTransmitKey,
PBYTE pbyHdrBuf,
WORD wPayloadLen,
OUT PBYTE pMICHDR
PBYTE pMICHDR
)
{
PDWORD pdwIV = (PDWORD) pbyIVHead;
Expand Down Expand Up @@ -1329,7 +1329,7 @@ s_cbFillTxBufHead (
BOOL bNeedEncrypt,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum
PUINT puMACfragNum
)
{
UINT cbMACHdLen;
Expand Down Expand Up @@ -2106,8 +2106,8 @@ vGenerateFIFOHeader (
PBYTE pPacket,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum,
OUT PUINT pcbHeaderSize
PUINT puMACfragNum,
PUINT pcbHeaderSize
)
{
UINT wTxBufSize; // FFinfo size
Expand Down
Loading

0 comments on commit 3cdec55

Please sign in to comment.