]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rtl8192u: fix whitespace around 'while' in r8192U_core.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 22 May 2013 15:22:35 +0000 (18:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2013 22:34:32 +0000 (15:34 -0700)
This patch fixes whitespace around 'while' following
the kernel coding style conventions.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index 8dc271e937f7e9e3a27a229da61d452eafa5184d..14ded643f8eb2d3b293ac567140d832e6f2eda95 100644 (file)
@@ -1402,7 +1402,7 @@ u8 DrvAggr_GetAggregatibleList(struct net_device *dev, struct sk_buff *skb,
                        break;
                }
 
-       } while((skb = skb_dequeue(&ieee->skb_drv_aggQ[QueueID])));
+       } while ((skb = skb_dequeue(&ieee->skb_drv_aggQ[QueueID])));
 
        RT_TRACE(COMP_AMSDU, "DrvAggr_GetAggregatibleList, nAggrTcbNum = %d \n", pSendList->nr_drv_agg_frames);
        return pSendList->nr_drv_agg_frames;
@@ -3972,7 +3972,7 @@ void CAM_read_entry(
 
        //Check polling bit is clear
 //     mdelay(1);
-               while((i--)>=0)
+               while ((i--)>=0)
                {
                        ulStatus = read_nic_dword(dev, RWCAM);
                        if (ulStatus & BIT31){