]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: rtl8192u: Remove useless comments
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 14 Feb 2016 05:29:50 +0000 (10:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:49:09 +0000 (16:49 -0800)
Remove the commented out places where macros PlatformAcquireSpinLock and
PlatformReleaseSpinLock are called as these macros are no longer used.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c

index 36a165eab3b711a0dd75af2fda88c7f21e2a52d6..148d0d45547b246bd6040513d95e89c713e26f31 100644 (file)
@@ -35,9 +35,7 @@ static void RxPktPendingTimeout(unsigned long data)
        u8 index = 0;
        bool bPktInBuf = false;
 
-
        spin_lock_irqsave(&(ieee->reorder_spinlock), flags);
-       //PlatformAcquireSpinLock(Adapter, RT_RX_SPINLOCK);
        IEEE80211_DEBUG(IEEE80211_DL_REORDER,"==================>%s()\n",__func__);
        if(pRxTs->RxTimeoutIndicateSeq != 0xffff)
        {
@@ -91,7 +89,6 @@ static void RxPktPendingTimeout(unsigned long data)
                          jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime));
        }
        spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags);
-       //PlatformReleaseSpinLock(Adapter, RT_RX_SPINLOCK);
 }
 
 /********************************************************************************************************************
@@ -471,7 +468,6 @@ static void RemoveTsEntry(struct ieee80211_device *ieee, PTS_COMMON_INFO pTs,
 
                while(!list_empty(&pRxTS->RxPendingPktList))
                {
-               //      PlatformAcquireSpinLock(Adapter, RT_RX_SPINLOCK);
                        spin_lock_irqsave(&(ieee->reorder_spinlock), flags);
                        //pRxReorderEntry = list_entry(&pRxTS->RxPendingPktList.prev,RX_REORDER_ENTRY,List);
                        pRxReorderEntry = (PRX_REORDER_ENTRY)list_entry(pRxTS->RxPendingPktList.prev,RX_REORDER_ENTRY,List);
@@ -491,7 +487,6 @@ static void RemoveTsEntry(struct ieee80211_device *ieee, PTS_COMMON_INFO pTs,
                                prxb = NULL;
                        }
                        list_add_tail(&pRxReorderEntry->List,&ieee->RxReorder_Unused_List);
-                       //PlatformReleaseSpinLock(Adapter, RT_RX_SPINLOCK);
                        spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags);
                }