]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: rtl8192e: Remove pointless returns
authorMike McCormack <mikem@ring3k.org>
Mon, 27 Dec 2010 12:53:24 +0000 (21:53 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 00:14:11 +0000 (16:14 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/ieee80211/rtl819x_BAProc.c
drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c

index ae0e5b9e218338311dbfcb29667b2281ab004636..389b9353690f8c2b9e968b9523681afaf7a38e76 100644 (file)
@@ -309,7 +309,6 @@ void ieee80211_send_ADDBAReq(struct ieee80211_device* ieee, u8*     dst, PBA_RECORD
        {
                IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __FUNCTION__);
        }
-       return;
 }
 
 /********************************************************************************************************************
@@ -333,9 +332,6 @@ void ieee80211_send_ADDBARsp(struct ieee80211_device* ieee, u8* dst, PBA_RECORD
        {
                IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __FUNCTION__);
        }
-
-       return;
-
 }
 /********************************************************************************************************************
  *function: send ADDBARSP frame out
@@ -774,6 +770,5 @@ void RxBaInactTimeout(unsigned long data)
                &pRxTs->RxAdmittedBARecord,
                RX_DIR,
                DELBA_REASON_TIMEOUT);
-       return ;
 }
 
index e031f42aea5ca6f7bd1792ea313426e973040d4e..a4415972a60fe41273353d52c4a0da6cd61e667e 100644 (file)
@@ -145,8 +145,6 @@ void HTDebugHTCapability(u8* CapIE, u8* TitleString )
        IEEE80211_DEBUG(IEEE80211_DL_HT,  "\tMPDU Density = %d\n", pCapELE->MPDUDensity);
        IEEE80211_DEBUG(IEEE80211_DL_HT,  "\tMCS Rate Set = [%x][%x][%x][%x][%x]\n", pCapELE->MCS[0],\
                                pCapELE->MCS[1], pCapELE->MCS[2], pCapELE->MCS[3], pCapELE->MCS[4]);
-       return;
-
 }
 /********************************************************************************************************************
  *function:  This function print out each field on HT Information IE mainly from (Beacon/ProbeRsp)
@@ -211,7 +209,6 @@ void HTDebugHTInfo(u8*      InfoIE, u8* TitleString)
 
        IEEE80211_DEBUG(IEEE80211_DL_HT, "\tBasic MCS Rate Set = [%x][%x][%x][%x][%x]\n", pHTInfoEle->BasicMSC[0],\
                                pHTInfoEle->BasicMSC[1], pHTInfoEle->BasicMSC[2], pHTInfoEle->BasicMSC[3], pHTInfoEle->BasicMSC[4]);
-       return;
 }
 
 /*
@@ -729,15 +726,6 @@ void HTConstructCapabilityElement(struct ieee80211_device* ieee, u8* posHTCap, u
                *len = 30 + 2;
        else
                *len = 26 + 2;
-
-
-
-//     IEEE80211_DEBUG_DATA(IEEE80211_DL_DATA | IEEE80211_DL_HT, posHTCap, *len -2);
-
-       //Print each field in detail. Driver should not print out this message by default
-//     HTDebugHTCapability(posHTCap, (u8*)"HTConstructCapability()");
-       return;
-
 }
 /********************************************************************************************************************
  *function:  Construct  Information Element in Beacon... if HTEnable is turned on
@@ -789,9 +777,6 @@ void HTConstructInfoElement(struct ieee80211_device* ieee, u8* posHTInfo, u8* le
                //STA should not generate High Throughput Information Element
                *len = 0;
        }
-       //IEEE80211_DEBUG_DATA(IEEE80211_DL_DATA | IEEE80211_DL_HT, posHTInfo, *len - 2);
-       //HTDebugHTInfo(posHTInfo, "HTConstructInforElement");
-       return;
 }
 
 /*
@@ -1648,7 +1633,6 @@ void HTUseDefaultSetting(struct ieee80211_device* ieee)
        {
                pHTInfo->bCurrentHTSupport = false;
        }
-       return;
 }
 /********************************************************************************************************************
  *function:  check whether HT control field exists