From 67d43c98ee87e9ff6a0d3738f6027a4f909c673b Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Mon, 10 Aug 2020 16:49:05 -0700 Subject: [PATCH] qcacmn: qdf: Remove QDF_MAC_ADDR_STR and QDF_MAC_ADDR_ARRAY These two macros are obsolete and removed. Use the below new macros 1. For logging MAC address in kernel or driver logs, use QDF_MAC_ADDR_FMT in combination with QDF_MAC_ADDR_REF 2. For other management interfaces like debugfs, sysfs, ioctl, wext, unit test code, non-production simulation SW use QDF_FULL_MAC_FMT and QDF_FULL_MAC_REF Change-Id: I366ceddfbb86526ebf24366b18b9e847fc5e4cea CRs-Fixed: 2767703 --- qdf/inc/qdf_types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/qdf/inc/qdf_types.h b/qdf/inc/qdf_types.h index c99152bbf585..e0ab017d5444 100644 --- a/qdf/inc/qdf_types.h +++ b/qdf/inc/qdf_types.h @@ -840,9 +840,6 @@ QDF_STATUS qdf_uint64_parse(const char *int_str, uint64_t *out_int); #define QDF_FULL_MAC_FMT "%pM" #define QDF_FULL_MAC_REF(a) (a) -#define QDF_MAC_ADDR_STR "%02x:%02x:%02x:%02x:%02x:%02x" -#define QDF_MAC_ADDR_ARRAY(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] - #if defined(WLAN_TRACE_HIDE_MAC_ADDRESS) #define QDF_MAC_ADDR_FMT "%02x:**:**:**:%02x:%02x"