From 83144ce3f37089d10239da167e7b7a6e339bc8f3 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 23 Jul 2018 21:12:40 -0700 Subject: [PATCH] qcacld-3.0: Remove fMiracastSessionPresent from MAC context The MAC context fMiracastSessionPresent flag is only referenced by macro IS_MIRACAST_SESSION_PRESENT(), and this macro is unused. Since the fMiracastSessionPresent flag is obsolete, remove it and the macro. Change-Id: I5ad6e5b56bd0476e7894c431b56b9ad5730923d4 CRs-Fixed: 2300050 --- core/mac/inc/ani_global.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/mac/inc/ani_global.h b/core/mac/inc/ani_global.h index cc6756cc1fcd..3aa8ae31701c 100644 --- a/core/mac/inc/ani_global.h +++ b/core/mac/inc/ani_global.h @@ -81,7 +81,6 @@ static inline mac_handle_t MAC_HANDLE(tpAniSirGlobal mac) #define ANI_DRIVER_TYPE(pMac) (((tpAniSirGlobal)(pMac))->gDriverType) -#define IS_MIRACAST_SESSION_PRESENT(pMac) (((tpAniSirGlobal)(pMac))->fMiracastSessionPresent ? 1 : 0) /* ------------------------------------------------------------------- */ /* Bss Qos Caps bit map definition */ #define LIM_BSS_CAPS_OFFSET_HCF 0 @@ -856,15 +855,11 @@ typedef struct sAniSirGlobal { /* PAL/HDD handle */ hdd_handle_t hdd_handle; - tSmeStruct sme; tSapStruct sap; struct csr_scanstruct scan; struct csr_roamstruct roam; - tRrmContext rrm; - - csr_readyToSuspendCallback readyToSuspendCallback; void *readyToSuspendContext; uint8_t isCoalesingInIBSSAllowed; @@ -873,11 +868,9 @@ typedef struct sAniSirGlobal { bool pmf_offload; bool is_fils_roaming_supported; bool enable5gEBT; - uint8_t fMiracastSessionPresent; uint8_t f_prefer_non_dfs_on_radar; uint32_t fEnableDebugLog; uint32_t f_sta_miracast_mcc_rest_time_val; - /* Miracast session 0-Disabled, 1-Source, 2-sink */ #ifdef WLAN_FEATURE_EXTWOW_SUPPORT csr_readyToExtWoWCallback readyToExtWoWCallback; void *readyToExtWoWContext;