Staging: rtl8192u: remove dead code
[safe/jmp/linux-2.6] / drivers / staging / rtl8192u / ieee80211 / rtl819x_BAProc.c
index 98b3bb6..26af43b 100644 (file)
@@ -174,48 +174,6 @@ static struct sk_buff* ieee80211_ADDBA(struct ieee80211_device* ieee, u8* Dst, P
        //return NULL;
 }
 
-#if 0 //I try to merge ADDBA_REQ and ADDBA_RSP frames together..
-/********************************************************************************************************************
- *function:  construct ADDBAREQ frame
- *   input:  u8*               dst     //ADDBARsp frame's destination
- *          PBA_RECORD         pBA     //BA_RECORD entry which stores the necessary information for BA_RSP.
- *          u16                StatusCode  //status code.
- *  output:  none
- *  return:  sk_buff*          skb     //return constructed skb to xmit
-********************************************************************************************************************/
-static struct sk_buff* ieee80211_ADDBA_Rsp( IN struct ieee80211_device* ieee, u8* dst, PBA_RECORD pBA, u16 StatusCode)
-{
-       OCTET_STRING    osADDBAFrame, tmp;
-
-       FillOctetString(osADDBAFrame, Buffer, 0);
-       *pLength = 0;
-
-       ConstructMaFrameHdr(
-                                       Adapter,
-                                       Addr,
-                                       ACT_CAT_BA,
-                                       ACT_ADDBARSP,
-                                       &osADDBAFrame   );
-
-       // Dialog Token
-       FillOctetString(tmp, &pBA->DialogToken, 1);
-       PacketAppendData(&osADDBAFrame, tmp);
-
-       // Status Code
-       FillOctetString(tmp, &StatusCode, 2);
-       PacketAppendData(&osADDBAFrame, tmp);
-
-       // BA Parameter Set
-       FillOctetString(tmp, &pBA->BaParamSet, 2);
-       PacketAppendData(&osADDBAFrame, tmp);
-
-       // BA Timeout Value
-       FillOctetString(tmp, &pBA->BaTimeoutValue, 2);
-       PacketAppendData(&osADDBAFrame, tmp);
-
-       *pLength = osADDBAFrame.Length;
-}
-#endif
 
 /********************************************************************************************************************
  *function:  construct DELBA frame