diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-10-06 21:04:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-07 11:13:56 +0200 |
commit | a84ff259bfc10e473a2b1b2dc6f2aadfb498dbed (patch) | |
tree | 692d98d856ed7c5d2d70ea0f91243abc69bb0207 | |
parent | 9938fdea87f6ca9588d2499ed32a360abedc0786 (diff) | |
download | linux-stable-a84ff259bfc10e473a2b1b2dc6f2aadfb498dbed.tar.gz linux-stable-a84ff259bfc10e473a2b1b2dc6f2aadfb498dbed.tar.bz2 linux-stable-a84ff259bfc10e473a2b1b2dc6f2aadfb498dbed.zip |
staging: rtl8192e: Remove function _rtl92e_wx_set_lps_awake_interval()
Remove function _rtl92e_wx_set_lps_awake_interval() as this functionality
is not commonly used and the tool to access it is deprecated.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f0bce7933d3d3761ddc42ba64a4ce46827bd3304.1696548527.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index a85caabcaf6c..35f25c60dfb9 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -150,25 +150,6 @@ static int _rtl92e_wx_adapter_power_status(struct net_device *dev, return 0; } -static int _rtl92e_wx_set_lps_awake_interval(struct net_device *dev, - struct iw_request_info *info, - union iwreq_data *wrqu, - char *extra) -{ - struct r8192_priv *priv = rtllib_priv(dev); - struct rt_pwr_save_ctrl *psc = (struct rt_pwr_save_ctrl *) - (&priv->rtllib->pwr_save_ctrl); - - mutex_lock(&priv->wx_mutex); - - netdev_info(dev, "%s(): set lps awake interval ! extra is %d\n", - __func__, *extra); - - psc->reg_max_lps_awake_intvl = *extra; - mutex_unlock(&priv->wx_mutex); - return 0; -} - static int _rtl92e_wx_set_debug(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) @@ -950,10 +931,6 @@ static const struct iw_priv_args r8192_private_args[] = { SIOCIWFIRSTPRIV + 0x6, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, IW_PRIV_TYPE_NONE, "set_power" - }, { - SIOCIWFIRSTPRIV + 0xa, - IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, IW_PRIV_TYPE_NONE, - "lps_interv" } }; @@ -966,10 +943,6 @@ static iw_handler r8192_private_handler[] = { (iw_handler)NULL, (iw_handler)NULL, (iw_handler)_rtl92e_wx_adapter_power_status, - (iw_handler)NULL, - (iw_handler)NULL, - (iw_handler)NULL, - (iw_handler)_rtl92e_wx_set_lps_awake_interval, }; static struct iw_statistics *_rtl92e_get_wireless_stats(struct net_device *dev) |