diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-12-05 14:31:19 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-09 17:23:40 -0800 |
| commit | bb47869fc38a1f4cef31444784d238c6aa721c1c (patch) | |
| tree | a1c08263955fd15f31edbf3350eef476855f52a8 | |
| parent | cb26b6919a9c58c587e458a84f61e696c9efac75 (diff) | |
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
25 files changed, 0 insertions, 75 deletions
diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index c75ee2be7cbf..7ec20dc56837 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -166,9 +166,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) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 62e5c46dd623..db56bb53c5ee 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index c4571407fb0f..5606aa1ee25d 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_conc_ut.c b/core/hdd/src/wlan_hdd_conc_ut.c index 6d1e048c23b4..8de063cede9a 100644 --- a/core/hdd/src/wlan_hdd_conc_ut.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_debugfs.c b/core/hdd/src/wlan_hdd_debugfs.c index ce21d643c9c8..1ad8cc01c8cb 100644 --- a/core/hdd/src/wlan_hdd_debugfs.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 22189d3e28f2..31f18b1ef15b 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_ext_scan.c b/core/hdd/src/wlan_hdd_ext_scan.c index 320ea3cc4aa2..6e513c4662d7 100644 --- a/core/hdd/src/wlan_hdd_ext_scan.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_ftm.c b/core/hdd/src/wlan_hdd_ftm.c index 9ebfd21dd2d4..274932007ec3 100644 --- a/core/hdd/src/wlan_hdd_ftm.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_green_ap.c b/core/hdd/src/wlan_hdd_green_ap.c index a843cbd64ed4..ba8f56b3664d 100644 --- a/core/hdd/src/wlan_hdd_green_ap.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 00873a4d6fc2..0c17bec692ca 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c index 3f6615c993da..91ad102ffa27 100644 --- a/core/hdd/src/wlan_hdd_ioctl.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index 437b6bb3f1ca..02a7b507e417 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_lpass.c b/core/hdd/src/wlan_hdd_lpass.c index de80700c7d3e..2642c224d2c5 100644 --- a/core/hdd/src/wlan_hdd_lpass.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_lro.c b/core/hdd/src/wlan_hdd_lro.c index 9f9dc5467637..0316a0e449c0 100644 --- a/core/hdd/src/wlan_hdd_lro.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fbff62434743..e0f5d4031755 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_memdump.c b/core/hdd/src/wlan_hdd_memdump.c index b8765153d373..a4ce2148da97 100644 --- a/core/hdd/src/wlan_hdd_memdump.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_nan.c b/core/hdd/src/wlan_hdd_nan.c index ad01978322e3..131a629baf6c 100644 --- a/core/hdd/src/wlan_hdd_nan.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_ocb.c b/core/hdd/src/wlan_hdd_ocb.c index f59fc30f5c5f..45e75ec0b704 100644 --- a/core/hdd/src/wlan_hdd_ocb.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_oemdata.c b/core/hdd/src/wlan_hdd_oemdata.c index ffa0934207f0..1f9e6392ec01 100644 --- a/core/hdd/src/wlan_hdd_oemdata.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c index 3c8d5373372d..d82f52247848 100644 --- a/core/hdd/src/wlan_hdd_p2p.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c index d785de4021c6..001a9031a39d 100644 --- a/core/hdd/src/wlan_hdd_scan.c +++ b/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> diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c index f510f8f4d363..e807d54ef3c4 100644 --- a/core/hdd/src/wlan_hdd_softap_tx_rx.c +++ b/core/hdd/src/wlan_hdd_softap_tx_rx.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 <linux/semaphore.h> #include <wlan_hdd_tx_rx.h> diff --git a/core/hdd/src/wlan_hdd_trace.c b/core/hdd/src/wlan_hdd_trace.c index e45a42d02b6b..4490b71fe666 100644 --- a/core/hdd/src/wlan_hdd_trace.c +++ b/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" diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index e2a7c35a92ee..f93275bc67f8 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -31,9 +31,6 @@ * Linux HDD Tx/RX APIs */ -/* denote that this file does not allow legacy hddLog */ -#define HDD_DISALLOW_LEGACY_HDDLOG 1 - #include <wlan_hdd_tx_rx.h> #include <wlan_hdd_softap_tx_rx.h> #include <wlan_hdd_napi.h> diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 56b7296c072c..99c0f20a591c 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/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> |
