]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6656: removed the trailing statement should be on next line error
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Tue, 12 Nov 2013 17:35:40 +0000 (23:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2013 00:06:22 +0000 (16:06 -0800)
as per linux coding style trailing statments should not be there
at the end of line, instead it should be placed in next line.
hence removed that error by moving trailing statement to next
line

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wcmd.c

index 9646d72dc9b2f773e1b03772586679f0e200c3a8..2d05ccb58a7a8dfc090d1236d9430dc511f92e20 100644 (file)
@@ -604,7 +604,8 @@ void vRunCommand(struct work_struct *work)
                        }
                } else if (pMgmt->eCurrState < WMAC_STATE_AUTHPENDING) {
                        printk("WLAN_AUTHENTICATE_WAIT:Authen Fail???\n");
-               } else if (pDevice->byLinkWaitCount <= 4) {    //mike add:wait another 2 sec if authenticated_frame delay!
+               } else if (pDevice->byLinkWaitCount <= 4) {
+                       //mike add:wait another 2 sec if authenticated_frame delay!
                        pDevice->byLinkWaitCount++;
                        printk("WLAN_AUTHENTICATE_WAIT:wait %d times!!\n", pDevice->byLinkWaitCount);
                        spin_unlock_irq(&pDevice->lock);
@@ -639,7 +640,8 @@ void vRunCommand(struct work_struct *work)
 
                } else if (pMgmt->eCurrState < WMAC_STATE_ASSOCPENDING) {
                        printk("WLAN_ASSOCIATE_WAIT:Association Fail???\n");
-               } else if (pDevice->byLinkWaitCount <= 4) {    //mike add:wait another 2 sec if associated_frame delay!
+               } else if (pDevice->byLinkWaitCount <= 4) {
+                       //mike add:wait another 2 sec if associated_frame delay!
                        pDevice->byLinkWaitCount++;
                        printk("WLAN_ASSOCIATE_WAIT:wait %d times!!\n", pDevice->byLinkWaitCount);
                        spin_unlock_irq(&pDevice->lock);