staging: rtl8723bs: remove odm_debug.h header file
authorFabio Aiuto <fabioaiuto83@gmail.com>
Fri, 30 Apr 2021 14:57:05 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:39 +0000 (11:19 +0200)
remove obsolete odm_debug.h header file.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/58f3ed0c7706fdb33614d3e38ed802d56d77f0ec.1619794331.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm_debug.h [deleted file]
drivers/staging/rtl8723bs/hal/odm_precomp.h

diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h
deleted file mode 100644 (file)
index 9401134..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/******************************************************************************
- *
- * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
- *
- ******************************************************************************/
-
-#ifndef __ODM_DBG_H__
-#define __ODM_DBG_H__
-
-
-/*  */
-/* Define the debug levels */
-/*  */
-/* 1.  DBG_TRACE and DBG_LOUD are used for normal cases. */
-/* So that, they can help SW engineer to developed or trace states changed */
-/* and also help HW enginner to trace every operation to and from HW, */
-/* e.g IO, Tx, Rx. */
-/*  */
-/* 2.  DBG_WARNNING and DBG_SERIOUS are used for unusual or error cases, */
-/* which help us to debug SW or HW. */
-/*  */
-/*  */
-/*  */
-/* Never used in a call to ODM_RT_TRACE()! */
-/*  */
-#define ODM_DBG_OFF                                    1
-
-/*  */
-/* Fatal bug. */
-/* For example, Tx/Rx/IO locked up, OS hangs, memory access violation, */
-/* resource allocation failed, unexpected HW behavior, HW BUG and so on. */
-/*  */
-#define ODM_DBG_SERIOUS                                2
-
-/*  */
-/* Abnormal, rare, or unexpected cases. */
-/* For example, */
-/* IRP/Packet/OID canceled, */
-/* device suprisely unremoved and so on. */
-/*  */
-#define ODM_DBG_WARNING                                3
-
-/*  */
-/* Normal case with useful information about current SW or HW state. */
-/* For example, Tx/Rx descriptor to fill, Tx/Rx descriptor completed status, */
-/* SW protocol state change, dynamic mechanism state change and so on. */
-/*  */
-#define ODM_DBG_LOUD                           4
-
-/*  */
-/* Normal case with detail execution flow or information. */
-/*  */
-#define ODM_DBG_TRACE                          5
-
-/*  */
-/*  Define the tracing components */
-/*  */
-/*  */
-/* BB Functions */
-#define ODM_COMP_DIG                           BIT0
-#define ODM_COMP_RA_MASK                       BIT1
-#define ODM_COMP_DYNAMIC_TXPWR         BIT2
-#define ODM_COMP_FA_CNT                                BIT3
-#define ODM_COMP_RSSI_MONITOR          BIT4
-#define ODM_COMP_CCK_PD                                BIT5
-#define ODM_COMP_ANT_DIV                       BIT6
-#define ODM_COMP_PWR_SAVE                      BIT7
-#define ODM_COMP_PWR_TRAIN                     BIT8
-#define ODM_COMP_RATE_ADAPTIVE         BIT9
-#define ODM_COMP_PATH_DIV                      BIT10
-#define ODM_COMP_PSD                           BIT11
-#define ODM_COMP_DYNAMIC_PRICCA                BIT12
-#define ODM_COMP_RXHP                          BIT13
-#define ODM_COMP_MP                                    BIT14
-#define ODM_COMP_CFO_TRACKING          BIT15
-/* MAC Functions */
-#define ODM_COMP_EDCA_TURBO                    BIT16
-#define ODM_COMP_EARLY_MODE                    BIT17
-/* RF Functions */
-#define ODM_COMP_TX_PWR_TRACK          BIT24
-#define ODM_COMP_RX_GAIN_TRACK         BIT25
-#define ODM_COMP_CALIBRATION           BIT26
-/* Common Functions */
-#define ODM_COMP_COMMON                                BIT30
-#define ODM_COMP_INIT                          BIT31
-
-#endif /*  __ODM_DBG_H__ */
index 440a549..5041c95 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "odm.h"
 #include "odm_HWConfig.h"
-#include "odm_debug.h"
 #include "odm_RegDefine11N.h"
 #include "odm_EdcaTurboCheck.h"
 #include "odm_DIG.h"