Skip to content

staging: rtl8192e: Remove variable priv->rf_chip from driver

Philipp Hortmann linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_readdrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+18 -250 replies
2/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_writedrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+21 -250 replies
3/11staging: rtl8192e: Remove priv->rf_chip in rtl92e_set_tx_powerdrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+2 -130 replies
4/11staging: rtl8192e: Remove priv->rf_chip in rtl92e_config_phydrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+1 -160 replies
5/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_set_tx_power_leveldrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+2 -150 replies
6/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_switch_channel_stepdrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+16 -670 replies
7/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_set_bw_mode_work_itemdrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+1 -230 replies
8/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_set_rf_power_statedrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+76 -1100 replies
9/11staging: rtl8192e: Remove rf_chip in _rtl92e_get_supported_wireless_modedrivers/staging/rtl8192e/rtl8192e/rtl_core.c+1 -150 replies
10/11staging: rtl8192e: Remove priv->rf_chip in _rtl92e_get_channel_mapdrivers/staging/rtl8192e/rtl8192e/rtl_core.c+0 -70 replies
11/11staging: rtl8192e: Remove priv->rf_chipdrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h+0 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] staging: rtl8192e: Remove variable priv->rf_chip from driver

priv->rf_chip is initialized to RF_8256 and never changed. Keep code that is executed under condition (priv->rf_chip == RF_8256) and remove dead code including unused variables.

Tested with rtl8192e
Transferred this patch over wlan connection of rtl8192e

Philipp Hortmann (11):
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_read
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_write
staging: rtl8192e: Remove priv->rf_chip in rtl92e_set_tx_power
staging: rtl8192e: Remove priv->rf_chip in rtl92e_config_phy
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_set_tx_power_level
staging: rtl8192e: Remove priv->rf_chip in
_rtl92e_phy_switch_channel_step
staging: rtl8192e: Remove priv->rf_chip in

    _rtl92e_set_bw_mode_work_item

staging: rtl8192e: Remove priv->rf_chip in _rtl92e_set_rf_power_state
staging: rtl8192e: Remove rf_chip in
_rtl92e_get_supported_wireless_mode
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_get_channel_map
staging: rtl8192e: Remove priv->rf_chip

 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    |   2 -
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    | 431 ++++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  |  23 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |  10 -
 4 files changed, 138 insertions(+), 328 deletions(-)
Signature · 1 line
2.39.2