Skip to content

Commit

Permalink
Staging: rtl8192e: Remove pointless returns
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent 951fc8e commit a57d188
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/rtl8192e/ieee80211/rtl819x_BAProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/********************************************************************************************************************
Expand All @@ -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
Expand Down Expand Up @@ -774,6 +770,5 @@ void RxBaInactTimeout(unsigned long data)
&pRxTs->RxAdmittedBARecord,
RX_DIR,
DELBA_REASON_TIMEOUT);
return ;
}

16 changes: 0 additions & 16 deletions drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}

/*
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

/*
Expand Down Expand Up @@ -1648,7 +1633,6 @@ void HTUseDefaultSetting(struct ieee80211_device* ieee)
{
pHTInfo->bCurrentHTSupport = false;
}
return;
}
/********************************************************************************************************************
*function: check whether HT control field exists
Expand Down

0 comments on commit a57d188

Please sign in to comment.