diff options
author | Phillip Potter <phil@philpotter.co.uk> | 2021-07-31 03:39:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-31 10:24:52 +0300 |
commit | fc577e46eb96b9c2d767c13801591f7a7e27d853 (patch) | |
tree | 76995a4e7fe19202590b5f1407f5580745931159 /drivers/staging/r8188eu/hal/rtl8188e_dm.c | |
parent | f8a846911d83e94a59016c72c503b22fcb4483c7 (diff) | |
download | linux-fc577e46eb96b9c2d767c13801591f7a7e27d853.tar.xz |
staging: r8188eu: remove include/odm_debug.h
Remove include/odm_debug.h in its entirety. To do this, first:
(1) Remove DebugLevel and DebugComponents members from the struct
odm_dm_struct definition, and any uses of these elsewhere in
the driver.
(2) Remove the function ODM_InitDebugSetting from hal/odm_debug.c
whilst leaving the file in place for now as it contains a global
which is still used and will be removed by further cleanup code.
Also remove all of its callers. All the function does is set the
members mentioned above.
(3) Remove the now redundant constants and their usages:
ODM_CMNINFO_DBG_LEVEL
ODM_CMNINFO_DBG_COMP
HW_DEF_ODM_DBG_FLAG
HW_DEF_FA_CNT_DUMP
This includes usage within a few hexadecimal ioctl switch cases
in os_dep/ioctl_linux.c (although only the call itself within
0x11 as it contains additional code currently).
(4) Finally, remove the file itself and its inclusion within
include/odm_precomp.h, as none of the remaining content is used
from anywhere else in the driver.
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210731003937.68615-15-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal/rtl8188e_dm.c')
-rw-r--r-- | drivers/staging/r8188eu/hal/rtl8188e_dm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_dm.c b/drivers/staging/r8188eu/hal/rtl8188e_dm.c index 294b082a6c09..0e264c39d636 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_dm.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_dm.c @@ -193,7 +193,6 @@ void rtl8188e_init_dm_priv(struct adapter *Adapter) memset(pdmpriv, 0, sizeof(struct dm_priv)); Init_ODM_ComInfo_88E(Adapter); - ODM_InitDebugSetting(podmpriv); } void rtl8188e_deinit_dm_priv(struct adapter *Adapter) |