Skip to content

Commit

Permalink
Staging: vt6656: Removed IN definition
Browse files Browse the repository at this point in the history
Code cleanup, removed empty IN definition used to denote input parameters.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed May 11, 2010
1 parent ecf739e commit 592ccfe
Show file tree
Hide file tree
Showing 39 changed files with 960 additions and 965 deletions.
44 changes: 22 additions & 22 deletions drivers/staging/vt6656/80211mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static int msglevel =MSG_LEVEL_INFO;

VOID
vMgrEncodeBeacon(
IN PWLAN_FR_BEACON pFrame
PWLAN_FR_BEACON pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -123,7 +123,7 @@ vMgrEncodeBeacon(

VOID
vMgrDecodeBeacon(
IN PWLAN_FR_BEACON pFrame
PWLAN_FR_BEACON pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -244,7 +244,7 @@ vMgrDecodeBeacon(

VOID
vMgrEncodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame
PWLAN_FR_IBSSATIM pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -267,7 +267,7 @@ vMgrEncodeIBSSATIM(

VOID
vMgrDecodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame
PWLAN_FR_IBSSATIM pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -289,7 +289,7 @@ vMgrDecodeIBSSATIM(

VOID
vMgrEncodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame
PWLAN_FR_DISASSOC pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -317,7 +317,7 @@ vMgrEncodeDisassociation(

VOID
vMgrDecodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame
PWLAN_FR_DISASSOC pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -343,7 +343,7 @@ vMgrDecodeDisassociation(

VOID
vMgrEncodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame
PWLAN_FR_ASSOCREQ pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -370,7 +370,7 @@ vMgrEncodeAssocRequest(

VOID
vMgrDecodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame
PWLAN_FR_ASSOCREQ pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -436,7 +436,7 @@ vMgrDecodeAssocRequest(

VOID
vMgrEncodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame
PWLAN_FR_ASSOCRESP pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -468,7 +468,7 @@ vMgrEncodeAssocResponse(

VOID
vMgrDecodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame
PWLAN_FR_ASSOCRESP pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -514,7 +514,7 @@ vMgrDecodeAssocResponse(

VOID
vMgrEncodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame
PWLAN_FR_REASSOCREQ pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -546,7 +546,7 @@ vMgrEncodeReassocRequest(

VOID
vMgrDecodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame
PWLAN_FR_REASSOCREQ pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -618,7 +618,7 @@ vMgrDecodeReassocRequest(

VOID
vMgrEncodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame
PWLAN_FR_PROBEREQ pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -639,7 +639,7 @@ vMgrEncodeProbeRequest(

VOID
vMgrDecodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame
PWLAN_FR_PROBEREQ pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -692,7 +692,7 @@ vMgrDecodeProbeRequest(

VOID
vMgrEncodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame
PWLAN_FR_PROBERESP pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -726,7 +726,7 @@ vMgrEncodeProbeResponse(

VOID
vMgrDecodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame
PWLAN_FR_PROBERESP pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -840,7 +840,7 @@ vMgrDecodeProbeResponse(

VOID
vMgrEncodeAuthen(
IN PWLAN_FR_AUTHEN pFrame
PWLAN_FR_AUTHEN pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -871,7 +871,7 @@ vMgrEncodeAuthen(

VOID
vMgrDecodeAuthen(
IN PWLAN_FR_AUTHEN pFrame
PWLAN_FR_AUTHEN pFrame
)
{
PWLAN_IE pItem;
Expand Down Expand Up @@ -911,7 +911,7 @@ vMgrDecodeAuthen(

VOID
vMgrEncodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame
PWLAN_FR_DEAUTHEN pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -938,7 +938,7 @@ vMgrEncodeDeauthen(

VOID
vMgrDecodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame
PWLAN_FR_DEAUTHEN pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -964,7 +964,7 @@ vMgrDecodeDeauthen(

VOID
vMgrEncodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame
PWLAN_FR_REASSOCRESP pFrame
)
{
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand Down Expand Up @@ -997,7 +997,7 @@ vMgrEncodeReassocResponse(

VOID
vMgrDecodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame
PWLAN_FR_REASSOCRESP pFrame
)
{
PWLAN_IE pItem;
Expand Down
44 changes: 22 additions & 22 deletions drivers/staging/vt6656/80211mgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -750,112 +750,112 @@ typedef struct tagWLAN_FR_DEAUTHEN {
/*--------------------- Export Functions --------------------------*/
VOID
vMgrEncodeBeacon(
IN PWLAN_FR_BEACON pFrame
PWLAN_FR_BEACON pFrame
);

VOID
vMgrDecodeBeacon(
IN PWLAN_FR_BEACON pFrame
PWLAN_FR_BEACON pFrame
);

VOID
vMgrEncodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame
PWLAN_FR_IBSSATIM pFrame
);

VOID
vMgrDecodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame
PWLAN_FR_IBSSATIM pFrame
);

VOID
vMgrEncodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame
PWLAN_FR_DISASSOC pFrame
);

VOID
vMgrDecodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame
PWLAN_FR_DISASSOC pFrame
);

VOID
vMgrEncodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame
PWLAN_FR_ASSOCREQ pFrame
);

VOID
vMgrDecodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame
PWLAN_FR_ASSOCREQ pFrame
);

VOID
vMgrEncodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame
PWLAN_FR_ASSOCRESP pFrame
);

VOID
vMgrDecodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame
PWLAN_FR_ASSOCRESP pFrame
);

VOID
vMgrEncodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame
PWLAN_FR_REASSOCREQ pFrame
);

VOID
vMgrDecodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame
PWLAN_FR_REASSOCREQ pFrame
);

VOID
vMgrEncodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame
PWLAN_FR_PROBEREQ pFrame
);

VOID
vMgrDecodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame
PWLAN_FR_PROBEREQ pFrame
);

VOID
vMgrEncodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame
PWLAN_FR_PROBERESP pFrame
);

VOID
vMgrDecodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame
PWLAN_FR_PROBERESP pFrame
);

VOID
vMgrEncodeAuthen(
IN PWLAN_FR_AUTHEN pFrame
PWLAN_FR_AUTHEN pFrame
);

VOID
vMgrDecodeAuthen(
IN PWLAN_FR_AUTHEN pFrame
PWLAN_FR_AUTHEN pFrame
);

VOID
vMgrEncodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame
PWLAN_FR_DEAUTHEN pFrame
);

VOID
vMgrDecodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame
PWLAN_FR_DEAUTHEN pFrame
);

VOID
vMgrEncodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame
PWLAN_FR_REASSOCRESP pFrame
);

VOID
vMgrDecodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame
PWLAN_FR_REASSOCRESP pFrame
);

#endif// __80211MGR_H__
24 changes: 12 additions & 12 deletions drivers/staging/vt6656/baseband.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,10 @@ s_vClearSQ3Value(PSDevice pDevice);
*/
UINT
BBuGetFrameTime (
IN BYTE byPreambleType,
IN BYTE byPktType,
IN UINT cbFrameLength,
IN WORD wRate
BYTE byPreambleType,
BYTE byPktType,
UINT cbFrameLength,
WORD wRate
)
{
UINT uFrameTime;
Expand Down Expand Up @@ -758,10 +758,10 @@ BBuGetFrameTime (
*/
VOID
BBvCaculateParameter (
IN PSDevice pDevice,
IN UINT cbFrameLength,
IN WORD wRate,
IN BYTE byPacketType,
PSDevice pDevice,
UINT cbFrameLength,
WORD wRate,
BYTE byPacketType,
OUT PWORD pwPhyLen,
OUT PBYTE pbyPhySrv,
OUT PBYTE pbyPhySgn
Expand Down Expand Up @@ -1578,7 +1578,7 @@ BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3)

VOID
TimerSQ3CallBack (
IN HANDLE hDeviceContext
HANDLE hDeviceContext
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
Expand Down Expand Up @@ -1620,7 +1620,7 @@ TimerSQ3CallBack (

VOID
TimerSQ3Tmax3CallBack (
IN HANDLE hDeviceContext
HANDLE hDeviceContext
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
Expand Down Expand Up @@ -1652,8 +1652,8 @@ TimerSQ3Tmax3CallBack (

VOID
BBvUpdatePreEDThreshold(
IN PSDevice pDevice,
IN BOOL bScanning)
PSDevice pDevice,
BOOL bScanning)
{


Expand Down
Loading

0 comments on commit 592ccfe

Please sign in to comment.