[0/8] staging: rtl8192e: Remove unused functions related to removed reset

Message ID cover.1696266964.git.philipp.g.hortmann@gmail.com
Headers
Series staging: rtl8192e: Remove unused functions related to removed reset |

Message

Philipp Hortmann Oct. 2, 2023, 5:53 p.m. UTC
  Remove unused functions rtl92e_dm_backup_state(), 
rtl92e_dm_restore_state() and rtl92e_cam_restore(). Remove unused
variables. Most parts are leftover from the previous patch series.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
Transferred this patch over wlan connection of rtl8192e.

Philipp Hortmann (8):
  staging: rtl8192e: Remove unused function rtl92e_dm_backup_state()
  staging: rtl8192e: Remove unused function rtl92e_dm_restore_state()
  staging: rtl8192e: Remove unused function rtl92e_cam_restore()
  staging: rtl8192e: Remove unused variable last_ratr
  staging: rtl8192e: Remove unused variable rate_adaptive_disabled
  staging: rtl8192e: Remove unused variable rfc_txpowertrackingindex
  staging: rtl8192e: Remove unused/constant parameter mesh_flag and
    shutdown
  staging: rtl8192e: Remove constant parameter from
    rtllib_stop_protocol()

 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c  | 63 ---------------
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.h  |  1 -
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c |  5 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h |  1 -
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c   | 83 --------------------
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h   |  2 -
 drivers/staging/rtl8192e/rtllib.h            |  7 +-
 drivers/staging/rtl8192e/rtllib_softmac.c    | 22 +++---
 drivers/staging/rtl8192e/rtllib_softmac_wx.c |  6 +-
 9 files changed, 16 insertions(+), 174 deletions(-)
  

Comments

Dan Carpenter Oct. 4, 2023, 8:19 a.m. UTC | #1
On Mon, Oct 02, 2023 at 07:53:01PM +0200, Philipp Hortmann wrote:
> Remove unused functions rtl92e_dm_backup_state(), 
> rtl92e_dm_restore_state() and rtl92e_cam_restore(). Remove unused
> variables. Most parts are leftover from the previous patch series.
> 
> Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
> Transferred this patch over wlan connection of rtl8192e.
> 
> Philipp Hortmann (8):
>   staging: rtl8192e: Remove unused function rtl92e_dm_backup_state()
>   staging: rtl8192e: Remove unused function rtl92e_dm_restore_state()
>   staging: rtl8192e: Remove unused function rtl92e_cam_restore()
>   staging: rtl8192e: Remove unused variable last_ratr
>   staging: rtl8192e: Remove unused variable rate_adaptive_disabled
>   staging: rtl8192e: Remove unused variable rfc_txpowertrackingindex
>   staging: rtl8192e: Remove unused/constant parameter mesh_flag and
>     shutdown
>   staging: rtl8192e: Remove constant parameter from
>     rtllib_stop_protocol()
> 

These all look good.

Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>

regards,
dan carpenter