The first 12 patches in this series remove macros and code that is valid only for 11ac chips and therefore not needed/used in this driver. Finally we can remove the header odm_RegDefine11AC.h. The last 2 patches remove unused defines from odm_RegDefine11N.h and clean up indentation in that file. Tested on x86_64 with Inter-Tech DMG-02. v2 -> v3 Added 2 patches that were sent separately but depend on this series. The first 12 patches are unchanged. v1 -> v2 Changed subject line of patch 11/12 to fix a typo. All other patches are unchanged. Michael Straube (14): staging: r8188eu: remove comments from odm_interface.h staging: r8188eu: remove unused macros from odm_interface.h staging: r8188eu: remove _ic_type from macro _cat in odm_interface.h staging: r8188eu: remove dead code from ODM_Write_DIG() staging: r8188eu: remove unnecessary if statement staging: r8188eu: remove more dead code from ODM_Write_DIG() staging: r8188eu: remove macro ODM_REG staging: r8188eu: remove macro ODM_BIT staging: r8188eu: remove unnecessary if statements staging: r8188eu: remove dead code from odm.c staging: r8188eu: remove macros ODM_IC_11{N,AC}_SERIES staging: r8188eu: remove header file odm_RegDefine11AC.h staging: r8188eu: remove unused defines from odm_RegDefine11N.h staging: r8188eu: clean up indentation in odm_RegDefine11N.h drivers/staging/r8188eu/hal/odm.c | 224 +++++++----------- drivers/staging/r8188eu/include/odm.h | 5 - .../r8188eu/include/odm_RegDefine11AC.h | 29 --- .../r8188eu/include/odm_RegDefine11N.h | 112 +-------- .../staging/r8188eu/include/odm_interface.h | 41 ---- drivers/staging/r8188eu/include/odm_precomp.h | 1 - 6 files changed, 90 insertions(+), 322 deletions(-) delete mode 100644 drivers/staging/r8188eu/include/odm_RegDefine11AC.h -- 2.33.0