diff mbox

rtlwifi: remove dummy function call

Message ID 20170628075711.GA8101@symbol-HP-ZBook-15 (mailing list archive)
State Accepted
Commit f81372ed8b1ea04d3cee5e8f7d3e0323a1e7b92e
Delegated to: Kalle Valo
Headers show

Commit Message

Souptick Joarder June 28, 2017, 7:57 a.m. UTC
_rtl92cu_init_usb_aggregation() can be removed as it is dummy one

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c | 5 -----
 1 file changed, 5 deletions(-)

--
1.9.1

Comments

Souptick Joarder July 4, 2017, 12:21 p.m. UTC | #1
Hi Larry,

On Wed, Jun 28, 2017 at 1:27 PM, Souptick Joarder <jrdr.linux@gmail.com> wrote:
> _rtl92cu_init_usb_aggregation() can be removed as it is dummy one
>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
> ---
>  drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
> index 107c34e..ef8bd71 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
> @@ -777,10 +777,6 @@ static void _rtl92cu_init_queue_priority(struct ieee80211_hw *hw,
>                                                    queue_sel);
>  }
>
> -static void _rtl92cu_init_usb_aggregation(struct ieee80211_hw *hw)
> -{
> -}
> -
>  static void _rtl92cu_init_wmac_setting(struct ieee80211_hw *hw)
>  {
>         u16 value16;
> @@ -863,7 +859,6 @@ static int _rtl92cu_init_mac(struct ieee80211_hw *hw)
>         rtl92c_init_edca(hw);
>         rtl92c_init_rate_fallback(hw);
>         rtl92c_init_retry_function(hw);
> -       _rtl92cu_init_usb_aggregation(hw);
>         rtlpriv->cfg->ops->set_bw_mode(hw, NL80211_CHAN_HT20);
>         rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version));
>         _rtl92cu_init_beacon_parameters(hw);
> --
> 1.9.1

Any comment for this patch ?
>

-Souptick
Kalle Valo July 28, 2017, 3:41 p.m. UTC | #2
Souptick Joarder <jrdr.linux@gmail.com> wrote:

> _rtl92cu_init_usb_aggregation() can be removed as it is dummy one
> 
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>

Patch applied to wireless-drivers-next.git, thanks.

f81372ed8b1e rtlwifi: remove dummy function call
diff mbox

Patch

diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
index 107c34e..ef8bd71 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
@@ -777,10 +777,6 @@  static void _rtl92cu_init_queue_priority(struct ieee80211_hw *hw,
 						   queue_sel);
 }

-static void _rtl92cu_init_usb_aggregation(struct ieee80211_hw *hw)
-{
-}
-
 static void _rtl92cu_init_wmac_setting(struct ieee80211_hw *hw)
 {
 	u16 value16;
@@ -863,7 +859,6 @@  static int _rtl92cu_init_mac(struct ieee80211_hw *hw)
 	rtl92c_init_edca(hw);
 	rtl92c_init_rate_fallback(hw);
 	rtl92c_init_retry_function(hw);
-	_rtl92cu_init_usb_aggregation(hw);
 	rtlpriv->cfg->ops->set_bw_mode(hw, NL80211_CHAN_HT20);
 	rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version));
 	_rtl92cu_init_beacon_parameters(hw);