Skip to content

staging: rtl8192e: Remove constant variable channel_plan

Philipp Hortmann linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10staging: rtl8192e: Remove unused return value of rtl92e_set_channel()drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h drivers/staging/rtl8192e/rtl8192e/rtl_core.h+8 -80 replies
2/10staging: rtl8192e: Change parameter "ch" of set_chan() to u8drivers/staging/rtl8192e/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtllib.h+2 -20 replies
3/10staging: rtl8192e: Unwind pointer to pointer to rtl92e_set_channel()drivers/staging/rtl8192e/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h+1 -140 replies
4/10staging: rtl8192e: Remove equation that results in constant for chnl_plandrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c+0 -80 replies
5/10staging: rtl8192e: Remove constant variable chnl_plandrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h+1 -90 replies
6/10staging: rtl8192e: Remove unused variable eeprom_chnl_plandrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h+0 -30 replies
7/10staging: rtl8192e: Remove equation to check limits of channeldrivers/staging/rtl8192e/dot11d.c+1 -40 replies
8/10staging: rtl8192e: Remove check if channel_array[channel_plan].len != 0drivers/staging/rtl8192e/dot11d.c+5 -70 replies
9/10staging: rtl8192e: Remove switch for a constant in dot11d_channel_map()drivers/staging/rtl8192e/dot11d.c+3 -180 replies
10/10staging: rtl8192e: Remove constant index from channel_array[]drivers/staging/rtl8192e/dot11d.c drivers/staging/rtl8192e/dot11d.h drivers/staging/rtl8192e/rtl8192e/rtl_core.c+6 -290 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/10] staging: rtl8192e: Remove constant variable channel_plan

Remove constant variable channel_plan to increase readability of the code.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. Tested on Channels: 1, 2, 10, 13

Philipp Hortmann (10):
staging: rtl8192e: Remove unused return value of rtl92e_set_channel()
staging: rtl8192e: Change parameter "ch" of set_chan() to u8
staging: rtl8192e: Unwind pointer to pointer to rtl92e_set_channel()
staging: rtl8192e: Remove equation that results in constant for
chnl_plan
staging: rtl8192e: Remove constant variable chnl_plan
staging: rtl8192e: Remove unused variable eeprom_chnl_plan
staging: rtl8192e: Remove equation to check limits of channel
staging: rtl8192e: Remove check if channel_array[channel_plan].len !=

    0
  staging: rtl8192e: Remove switch for a constant in
    dot11d_channel_map()

staging: rtl8192e: Remove constant index from channel_array[]

 drivers/staging/rtl8192e/dot11d.c             | 63 +++----------------
 drivers/staging/rtl8192e/dot11d.h             |  2 +-
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 12 ----
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    | 12 ++--
 .../staging/rtl8192e/rtl8192e/r8192E_phy.h    |  2 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  | 20 +-----
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |  4 --
 drivers/staging/rtl8192e/rtllib.h             |  2 +-
 8 files changed, 21 insertions(+), 96 deletions(-)
Signature · 1 line
2.42.0