Commit 4424ddb0 authored by Phillip Potter's avatar Phillip Potter Committed by Greg Kroah-Hartman

staging: rtl8188eu: remove GlobalDebugLevel variable

Remove GlobalDebugLevel variable and all of its uses, as it is now
no longer used anywhere in this driver.
Signed-off-by: default avatarPhillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210625000756.6313-23-phil@philpotter.co.ukSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3fd18e03
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#include "odm_precomp.h" #include "odm_precomp.h"
#include "phy.h" #include "phy.h"
u32 GlobalDebugLevel;
/* avoid to warn in FreeBSD ==> To DO modify */ /* avoid to warn in FreeBSD ==> To DO modify */
static u32 EDCAParam[HT_IOT_PEER_MAX][3] = { static u32 EDCAParam[HT_IOT_PEER_MAX][3] = {
/* UL DL */ /* UL DL */
......
...@@ -54,6 +54,4 @@ ...@@ -54,6 +54,4 @@
#define _module_rtl8712_recv_c_ BIT(30) #define _module_rtl8712_recv_c_ BIT(30)
#define _module_rtl8712_led_c_ BIT(31) #define _module_rtl8712_led_c_ BIT(31)
extern u32 GlobalDebugLevel;
#endif /* __RTW_DEBUG_H__ */ #endif /* __RTW_DEBUG_H__ */
...@@ -140,8 +140,6 @@ static void loadparam(struct adapter *padapter) ...@@ -140,8 +140,6 @@ static void loadparam(struct adapter *padapter)
{ {
struct registry_priv *registry_par = &padapter->registrypriv; struct registry_priv *registry_par = &padapter->registrypriv;
GlobalDebugLevel = rtw_debug;
memcpy(registry_par->ssid.ssid, "ANY", 3); memcpy(registry_par->ssid.ssid, "ANY", 3);
registry_par->ssid.ssid_length = 3; registry_par->ssid.ssid_length = 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment