Staging: rtl8192e: Remove pointless returns
Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
951fc8ed5c
commit
a57d188daa
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue