rtlwifi: Remove unused dummy function
authorSouptick Joarder <jrdr.linux@gmail.com>
Wed, 28 Jun 2017 12:32:33 +0000 (18:02 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 15:41:55 +0000 (18:41 +0300)
Removing unused dummy function

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h

index 96c923b..62d9214 100644 (file)
@@ -173,7 +173,7 @@ static struct rtl_hal_usbint_cfg rtl92cu_interface_cfg = {
        .rx_urb_num = RTL92C_NUM_RX_URBS,
        .rx_max_size = RTL92C_SIZE_MAX_RX_BUFFER,
        .usb_rx_hdl = rtl8192cu_rx_hdl,
-       .usb_rx_segregate_hdl = NULL, /* rtl8192c_rx_segregate_hdl; */
+       .usb_rx_segregate_hdl = NULL,
        /* tx */
        .usb_tx_cleanup = rtl8192c_tx_cleanup,
        .usb_tx_post_hdl = rtl8192c_tx_post_hdl,
index de6c342..ac4a82d 100644 (file)
@@ -436,13 +436,6 @@ void  rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb)
        _rtl_rx_process(hw, skb);
 }
 
-void rtl8192c_rx_segregate_hdl(
-       struct ieee80211_hw *hw,
-       struct sk_buff *skb,
-       struct sk_buff_head *skb_list)
-{
-}
-
 /*----------------------------------------------------------------------
  *
  *     Tx handler
@@ -675,8 +668,3 @@ void rtl92cu_tx_fill_cmddesc(struct ieee80211_hw *hw,
        RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, "H2C Tx Cmd Content",
                      pdesc, RTL_TX_DESC_SIZE);
 }
-
-bool rtl92cu_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb)
-{
-       return true;
-}
index 487eec8..15a66c5 100644 (file)
@@ -385,8 +385,6 @@ bool rtl92cu_rx_query_desc(struct ieee80211_hw *hw,
                           struct ieee80211_rx_status *rx_status,
                           u8 *p_desc, struct sk_buff *skb);
 void  rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb);
-void rtl8192c_rx_segregate_hdl(struct ieee80211_hw *, struct sk_buff *,
-                              struct sk_buff_head *);
 void rtl8192c_tx_cleanup(struct ieee80211_hw *hw, struct sk_buff  *skb);
 int rtl8192c_tx_post_hdl(struct ieee80211_hw *hw, struct urb *urb,
                         struct sk_buff *skb);
@@ -404,6 +402,5 @@ void rtl92cu_fill_fake_txdesc(struct ieee80211_hw *hw, u8 * pDesc,
 void rtl92cu_tx_fill_cmddesc(struct ieee80211_hw *hw,
                             u8 *pdesc, bool b_firstseg,
                             bool b_lastseg, struct sk_buff *skb);
-bool rtl92cu_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb);
 
 #endif