diff options
author | Joe Perches <joe@perches.com> | 2013-03-18 20:55:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 11:16:17 -0700 |
commit | 96d69e201bbdb05c363e899138f9f42bc8ad8f88 (patch) | |
tree | f3ba7f8c5436cfbce1617f415febbd681fe78fd4 /drivers/staging/vt6655/power.c | |
parent | bda2a44e2a015535f08aecd5c98e263098db9e75 (diff) |
staging: vt6655: Remove unnecessary blank lines
Remove a bunch of useless vertical whitespace.
Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/power.c')
-rw-r--r-- | drivers/staging/vt6655/power.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index ae2ad92f0272..2340d2f0399b 100644 --- a/drivers/staging/vt6655/power.c +++ b/drivers/staging/vt6655/power.c @@ -48,19 +48,14 @@ /*--------------------- Static Definitions -------------------------*/ - - - /*--------------------- Static Classes ----------------------------*/ /*--------------------- Static Variables --------------------------*/ static int msglevel = MSG_LEVEL_INFO; /*--------------------- Static Functions --------------------------*/ - /*--------------------- Export Variables --------------------------*/ - /*--------------------- Export Functions --------------------------*/ /*+ @@ -73,7 +68,6 @@ static int msglevel = MSG_LEVEL_INFO; * -*/ - void PSvEnablePowerSaving( void *hDeviceContext, @@ -128,11 +122,6 @@ PSvEnablePowerSaving( return; } - - - - - /*+ * * Routine Description: @@ -169,7 +158,6 @@ PSvDisablePowerSaving( return; } - /*+ * * Routine Description: @@ -180,7 +168,6 @@ PSvDisablePowerSaving( * false, if fail -*/ - bool PSbConsiderPowerDown( void *hDeviceContext, @@ -235,8 +222,6 @@ PSbConsiderPowerDown( return true; } - - /*+ * * Routine Description: @@ -247,8 +232,6 @@ PSbConsiderPowerDown( * -*/ - - void PSvSendPSPOLL( void *hDeviceContext @@ -258,7 +241,6 @@ PSvSendPSPOLL( PSMgmtObject pMgmt = pDevice->pMgmt; PSTxMgmtPacket pTxPacket = NULL; - memset(pMgmt->pbyPSPacketPool, 0, sizeof(STxMgmtPacket) + WLAN_HDR_ADDR2_LEN); pTxPacket = (PSTxMgmtPacket)pMgmt->pbyPSPacketPool; pTxPacket->p80211Header = (PUWLAN_80211HDR)((unsigned char *)pTxPacket + sizeof(STxMgmtPacket)); @@ -283,8 +265,6 @@ PSvSendPSPOLL( return; } - - /*+ * * Routine Description: @@ -304,7 +284,6 @@ PSbSendNullPacket( PSMgmtObject pMgmt = pDevice->pMgmt; unsigned int uIdx; - if (pDevice->bLinkPass == false) { return false; } @@ -330,7 +309,6 @@ PSbSendNullPacket( pTxPacket->p80211Header = (PUWLAN_80211HDR)((unsigned char *)pTxPacket + sizeof(STxMgmtPacket)); if (pDevice->bEnablePSMode) { - pTxPacket->p80211Header->sA3.wFrameCtl = cpu_to_le16( ( WLAN_SET_FC_FTYPE(WLAN_TYPE_DATA) | @@ -360,11 +338,9 @@ PSbSendNullPacket( DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send Null Packet failed !\n"); return false; } else { - // DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send Null Packet success....\n"); } - return true; } @@ -383,7 +359,6 @@ PSbIsNextTBTTWakeUp( void *hDeviceContext ) { - PSDevice pDevice = (PSDevice)hDeviceContext; PSMgmtObject pMgmt = pDevice->pMgmt; bool bWakeUp = false; @@ -405,4 +380,3 @@ PSbIsNextTBTTWakeUp( return bWakeUp; } - |