From 96d69e201bbdb05c363e899138f9f42bc8ad8f88 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Mon, 18 Mar 2013 20:55:41 -0700 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/power.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'drivers/staging/vt6655/power.c') diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index ae2ad92..2340d2f 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; } - -- cgit v1.1