staging: r8188eu: remove rtw_debug module parameter
Remove rtw_debug module parameter, and also the internal GlobalDebugLevel flag and all places where it is referenced. As hal/odm_debug.c is now essentially empty, also remove this file and edit the Makefile to no longer reference it. The DBG_88E macro was the last user of these and has now been removed, making the parameter and flag redundant. Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20220216010709.791-12-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cd480b0cc9
commit
db381acc41
@ -10,7 +10,6 @@ r8188eu-y = \
|
||||
hal/hal_intf.o \
|
||||
hal/hal_com.o \
|
||||
hal/odm.o \
|
||||
hal/odm_debug.o \
|
||||
hal/odm_HWConfig.o \
|
||||
hal/odm_RegConfig8188E.o \
|
||||
hal/odm_RTL8188E.o \
|
||||
|
@ -1,6 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "../include/rtw_debug.h"
|
||||
|
||||
u32 GlobalDebugLevel;
|
@ -52,6 +52,4 @@
|
||||
|
||||
#define DRIVER_PREFIX "R8188EU: "
|
||||
|
||||
extern u32 GlobalDebugLevel;
|
||||
|
||||
#endif /* __RTW_DEBUG_H__ */
|
||||
|
@ -45,7 +45,6 @@ static int rtw_smart_ps = 2;
|
||||
module_param(rtw_ips_mode, int, 0644);
|
||||
MODULE_PARM_DESC(rtw_ips_mode, "The default IPS mode");
|
||||
|
||||
static int rtw_debug = 1;
|
||||
static int rtw_radio_enable = 1;
|
||||
static int rtw_long_retry_lmt = 7;
|
||||
static int rtw_short_retry_lmt = 7;
|
||||
@ -148,14 +147,11 @@ MODULE_PARM_DESC(rtw_80211d, "Enable 802.11d mechanism");
|
||||
static uint rtw_notch_filter = RTW_NOTCH_FILTER;
|
||||
module_param(rtw_notch_filter, uint, 0644);
|
||||
MODULE_PARM_DESC(rtw_notch_filter, "0:Disable, 1:Enable, 2:Enable only for P2P");
|
||||
module_param_named(debug, rtw_debug, int, 0444);
|
||||
MODULE_PARM_DESC(debug, "Set debug level (1-9) (default 1)");
|
||||
|
||||
static uint loadparam(struct adapter *padapter)
|
||||
{
|
||||
struct registry_priv *registry_par = &padapter->registrypriv;
|
||||
|
||||
GlobalDebugLevel = rtw_debug;
|
||||
registry_par->chip_version = (u8)rtw_chip_version;
|
||||
registry_par->rfintfs = (u8)rtw_rfintfs;
|
||||
registry_par->lbkmode = (u8)rtw_lbkmode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user