From 14716aa3ec2319fa2a22a72a86ac219356e665ae Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 16 Dec 2018 11:53:52 -0800 Subject: [PATCH] qcacld-3.0: Remove csr_is_bss_type_match() Function csr_is_bss_type_match() is unused, so remove it. Change-Id: Ib8160f6a8ed3cdc6e5abb8604449ea14d7ec6b64 CRs-Fixed: 2370777 --- core/sme/inc/csr_support.h | 1 - core/sme/src/csr/csr_util.c | 9 --------- 2 files changed, 10 deletions(-) diff --git a/core/sme/inc/csr_support.h b/core/sme/inc/csr_support.h index f5b050dfe7ab..cbb4e4408007 100644 --- a/core/sme/inc/csr_support.h +++ b/core/sme/inc/csr_support.h @@ -300,7 +300,6 @@ bool csr_is_security_match(struct mac_context *mac_ctx, tCsrAuthList *auth_type, uint8_t *mfp_required, uint8_t *mfp_capable, tSirBssDescription *bss_desc, tDot11fBeaconIEs *ies_ptr, uint8_t session_id); -bool csr_is_bss_type_match(eCsrRoamBssType bssType1, eCsrRoamBssType bssType2); bool csr_is_bss_type_ibss(eCsrRoamBssType bssType); bool csr_is_bssid_match(struct qdf_mac_addr *pProfBssid, struct qdf_mac_addr *BssBssid); diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index cad9736fc5f5..0134b562a496 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -5537,15 +5537,6 @@ bool csr_is_bssid_match(struct qdf_mac_addr *pProfBssid, return fMatch; } -bool csr_is_bss_type_match(eCsrRoamBssType bssType1, eCsrRoamBssType bssType2) -{ - if ((eCSR_BSS_TYPE_ANY != bssType1 && eCSR_BSS_TYPE_ANY != bssType2) - && (bssType1 != bssType2)) - return false; - else - return true; -} - bool csr_is_bss_type_ibss(eCsrRoamBssType bssType) { return (bool)