From: Fabio Aiuto Date: Fri, 30 Apr 2021 14:56:54 +0000 (+0200) Subject: staging: rtl8723bs: remove obsolete GLBtcDbgType array declarations X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b0a21a60afb009bbd1b375418aa47b6ff958403f;p=linux.git staging: rtl8723bs: remove obsolete GLBtcDbgType array declarations remove obsolete GLBtcDbgType declarations for it was intended for private debug facilities. Reviewed-by: Dan Carpenter Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/000825941048c41cc53a0cc675fae2b45b781aad.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h index f2793d5d9a305..c5444f9656996 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h @@ -83,7 +83,6 @@ enum { BTC_MSG_ALGORITHM = 0x1, BTC_MSG_MAX }; -extern u32 GLBtcDbgType[]; /* following is for BTC_MSG_INTERFACE */ #define INTF_INIT BIT0 diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index fd26187a976a4..da545c4eaac0b 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -17,7 +17,6 @@ struct btc_coexist GLBtCoexist; static u8 GLBtcWiFiInScanState; static u8 GLBtcWiFiInIQKState; -u32 GLBtcDbgType[BTC_MSG_MAX]; static u8 GLBtcDbgBuf[BT_TMP_BUF_SIZE]; struct btcdbginfo { /* _btcoexdbginfo */