diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2019-07-23 06:10:23 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-07-24 14:54:56 +0300 |
commit | b43d6c8e8d7f19b44d4b40666fc38c8444b8143a (patch) | |
tree | ca9b502b89cd532fc69de4309c677693230bf926 /drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | |
parent | e3b1d879ccda9ffd5332777bb1beeb2cc913faa8 (diff) | |
download | linux-b43d6c8e8d7f19b44d4b40666fc38c8444b8143a.tar.xz |
rtlwifi: remove assignment to itself
Module parameters of 'sw_crypto' and 'disable_watchdog' are false by
default. If new value is desired, we can do it during inserting module,
assignment existing in source code is not reasonable.
Reported-by: David Binderman <dcb314@hotmail.com>
CC: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c index a9c0111444bc..900788e4018c 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c @@ -113,8 +113,6 @@ int rtl92c_init_sw_vars(struct ieee80211_hw *hw) rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; - rtlpriv->cfg->mod_params->sw_crypto = - rtlpriv->cfg->mod_params->sw_crypto; if (!rtlpriv->psc.inactiveps) pr_info("rtl8192ce: Power Save off (module option)\n"); if (!rtlpriv->psc.fwctrl_lps) |