浏览代码

qcacld-3.0: Remove obsolete hddLog() macro

All instances of the hddLog() macro have been replaced with a new set
of HDD logging APIs. Remove the hddLog() macro, along with all
instances of the HDD_DISALLOW_LEGACY_HDDLOG guard macro.

Change-Id: Ia755c5f68725fa8d75ad73e61cfa350e2743a623
CRs-Fixed: 937171
Jeff Johnson 8 年之前
父节点
当前提交
ee34b2e992

+ 0 - 3
core/hdd/inc/wlan_hdd_main.h

@@ -170,9 +170,6 @@
 
 #define WLAN_CHIP_VERSION   "WCNSS"
 
-#ifndef HDD_DISALLOW_LEGACY_HDDLOG
-#define hddLog(level, args ...) QDF_TRACE(QDF_MODULE_ID_HDD, level, ## args)
-#endif
 #define hdd_log(level, args...) QDF_TRACE(QDF_MODULE_ID_HDD, level, ## args)
 #define hdd_logfl(level, format, args...) hdd_log(level, FL(format), ## args)
 

+ 0 - 3
core/hdd/src/wlan_hdd_assoc.c

@@ -32,9 +32,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include "wlan_hdd_includes.h"
 #include <ani_global.h>
 #include "dot11f.h"

+ 0 - 3
core/hdd/src/wlan_hdd_cfg80211.c

@@ -32,9 +32,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>

+ 0 - 3
core/hdd/src/wlan_hdd_conc_ut.c

@@ -25,9 +25,6 @@
  * to the Linux Foundation.
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include files */
 
 #include <wlan_hdd_includes.h>

+ 0 - 3
core/hdd/src/wlan_hdd_debugfs.c

@@ -35,9 +35,6 @@
  */
 
 #ifdef WLAN_OPEN_SOURCE
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <wlan_hdd_includes.h>
 #include <wlan_hdd_debugfs.h>
 #include <wlan_hdd_wowl.h>

+ 0 - 3
core/hdd/src/wlan_hdd_driver_ops.c

@@ -25,9 +25,6 @@
  * to the Linux Foundation.
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/platform_device.h>
 #include <linux/pci.h>
 #include "cds_api.h"

+ 0 - 3
core/hdd/src/wlan_hdd_ext_scan.c

@@ -28,9 +28,6 @@
 
 #ifdef FEATURE_WLAN_EXTSCAN
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include "wlan_hdd_ext_scan.h"
 #include "wlan_hdd_regulatory.h"
 #include "cds_utils.h"

+ 0 - 3
core/hdd/src/wlan_hdd_ftm.c

@@ -31,9 +31,6 @@
  * This file contains the WLAN factory test mode implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <cds_mq.h>
 #include "cds_sched.h"
 #include <cds_api.h>

+ 0 - 3
core/hdd/src/wlan_hdd_green_ap.c

@@ -26,9 +26,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include Files */
 #include <wlan_hdd_main.h>
 #include <wlan_hdd_misc.h>

+ 0 - 3
core/hdd/src/wlan_hdd_hostapd.c

@@ -31,9 +31,6 @@
  * WLAN Host Device Driver implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include Files */
 
 #include <linux/version.h>

+ 0 - 3
core/hdd/src/wlan_hdd_ioctl.c

@@ -27,9 +27,6 @@
 
 /* Include Files */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <wlan_hdd_includes.h>
 #include <wlan_hdd_wowl.h>
 #include "wlan_hdd_trace.h"

+ 0 - 3
core/hdd/src/wlan_hdd_ipa.c

@@ -34,9 +34,6 @@
 
 #ifdef IPA_OFFLOAD
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include Files */
 #include <linux/ipa.h>
 #include <wlan_hdd_includes.h>

+ 0 - 3
core/hdd/src/wlan_hdd_lpass.c

@@ -32,9 +32,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include Files */
 #include "wlan_hdd_main.h"
 #include "wlan_hdd_lpass.h"

+ 0 - 3
core/hdd/src/wlan_hdd_lro.c

@@ -30,9 +30,6 @@
  * WLAN HDD LRO interface implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <wlan_hdd_includes.h>
 #include <qdf_types.h>
 #include <wlan_hdd_lro.h>

+ 0 - 3
core/hdd/src/wlan_hdd_main.c

@@ -32,9 +32,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 /* Include Files */
 #include <wlan_hdd_includes.h>
 #include <cds_api.h>

+ 0 - 3
core/hdd/src/wlan_hdd_memdump.c

@@ -32,9 +32,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <sme_api.h>
 #include <wlan_hdd_includes.h>
 #include "wlan_hdd_memdump.h"

+ 0 - 3
core/hdd/src/wlan_hdd_nan.c

@@ -25,9 +25,6 @@
  * WLAN Host Device Driver NAN API implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>

+ 0 - 3
core/hdd/src/wlan_hdd_ocb.c

@@ -31,9 +31,6 @@
  * WLAN Host Device Driver 802.11p OCB implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include "cds_sched.h"
 #include "wlan_hdd_assoc.h"
 #include "wlan_hdd_main.h"

+ 0 - 3
core/hdd/src/wlan_hdd_oemdata.c

@@ -34,9 +34,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>

+ 0 - 3
core/hdd/src/wlan_hdd_p2p.c

@@ -33,9 +33,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <wlan_hdd_includes.h>
 #include <wlan_hdd_hostapd.h>
 #include <net/cfg80211.h>

+ 0 - 3
core/hdd/src/wlan_hdd_scan.c

@@ -31,9 +31,6 @@
  * WLAN Host Device Driver scan implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/wireless.h>
 #include <net/cfg80211.h>
 

+ 0 - 3
core/hdd/src/wlan_hdd_trace.c

@@ -34,9 +34,6 @@
  *
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include "qdf_trace.h"
 #include "qdf_types.h"
 #include "wlan_hdd_trace.h"

+ 0 - 3
core/hdd/src/wlan_hdd_wext.c

@@ -31,9 +31,6 @@
  * Linux Wireless Extensions Implementation
  */
 
-/* denote that this file does not allow legacy hddLog */
-#define HDD_DISALLOW_LEGACY_HDDLOG 1
-
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>