staging/vt6656: cleanup coding style in vResetCommandTimer
authorDevendra Naga <devendra.aaru@gmail.com>
Fri, 13 Jul 2012 20:22:18 +0000 (02:07 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 02:13:49 +0000 (19:13 -0700)
the following fixes...

removed spaces at start of a line and used tabs

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wcmd.c

index c9de9373b7855bab715b9eab530030b7e7c4abfe..9d2caa819f47418f3e14ecdb84611857d1108803 100644 (file)
@@ -1254,21 +1254,21 @@ static BOOL s_bClearBSSID_SCAN(void *hDeviceContext)
 //mike add:reset command timer
 void vResetCommandTimer(void *hDeviceContext)
 {
-  PSDevice        pDevice = (PSDevice)hDeviceContext;
+       PSDevice pDevice = (PSDevice)hDeviceContext;
 
-  //delete timer
-      del_timer(&pDevice->sTimerCommand);
-  //init timer
-      init_timer(&pDevice->sTimerCommand);
-    pDevice->sTimerCommand.data = (unsigned long)pDevice;
-    pDevice->sTimerCommand.function = (TimerFunction)vRunCommand;
-    pDevice->sTimerCommand.expires = RUN_AT(HZ);
-    pDevice->cbFreeCmdQueue = CMD_Q_SIZE;
-    pDevice->uCmdDequeueIdx = 0;
-    pDevice->uCmdEnqueueIdx = 0;
-    pDevice->eCommandState = WLAN_CMD_IDLE;
-    pDevice->bCmdRunning = FALSE;
-    pDevice->bCmdClear = FALSE;
+       //delete timer
+       del_timer(&pDevice->sTimerCommand);
+       //init timer
+       init_timer(&pDevice->sTimerCommand);
+       pDevice->sTimerCommand.data = (unsigned long)pDevice;
+       pDevice->sTimerCommand.function = (TimerFunction)vRunCommand;
+       pDevice->sTimerCommand.expires = RUN_AT(HZ);
+       pDevice->cbFreeCmdQueue = CMD_Q_SIZE;
+       pDevice->uCmdDequeueIdx = 0;
+       pDevice->uCmdEnqueueIdx = 0;
+       pDevice->eCommandState = WLAN_CMD_IDLE;
+       pDevice->bCmdRunning = FALSE;
+       pDevice->bCmdClear = FALSE;
 }
 
 void BSSvSecondTxData(void *hDeviceContext)