[PATCH 0/4] staging: rtl8192e: remove rf_type from r8192_priv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series removes the rf_type field from the r8192_priv structure.
RF type is always RF_1T2R, so we do not need to store it in an extra
variable.

I don't have any hardware to test this, so compile-tested only.

Michael Straube (4):
  staging: rtl8192e: remove RTL819X_DEFAULT_RF_TYPE
  staging: rtl8192e: remove redundant setting of rf_type
  staging: rtl8192e: priv->rf_type is always RF_1T2R
  staging: rtl8192e: remove rf_type from struct r8192_priv

 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 19 +++-----------
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    |  7 ++----
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |  3 ---
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c    | 25 +++++++------------
 4 files changed, 15 insertions(+), 39 deletions(-)

-- 
2.40.0





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux