From fd5c269c7127acce1bc02066d7d3cc4a04de62f1 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 16 Dec 2018 11:50:22 -0800 Subject: [PATCH] qcacld-3.0: Remove csr_is11d_supported() Function csr_is11d_supported() is no longer used, so remove it. Change-Id: Icf4454f243e5eb12d1b794f526c28a3e9d4bffe1 CRs-Fixed: 2370776 --- core/sme/src/csr/csr_inside_api.h | 1 - core/sme/src/csr/csr_util.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/core/sme/src/csr/csr_inside_api.h b/core/sme/src/csr/csr_inside_api.h index 093509e4838e..5d4a649f26a3 100644 --- a/core/sme/src/csr/csr_inside_api.h +++ b/core/sme/src/csr/csr_inside_api.h @@ -523,7 +523,6 @@ QDF_STATUS csr_get_regulatory_domain_for_country(struct mac_context *mac, enum country_src source); /* some support functions */ -bool csr_is11d_supported(struct mac_context *mac); bool csr_is11h_supported(struct mac_context *mac); bool csr_is11e_supported(struct mac_context *mac); bool csr_is_wmm_supported(struct mac_context *mac); diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 67010a700a42..cad9736fc5f5 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -1445,11 +1445,6 @@ bool csr_is_privacy(tSirBssDescription *pSirBssDesc) return (bool) dot11Caps.privacy; } -bool csr_is11d_supported(struct mac_context *mac) -{ - return mac->mlme_cfg->gen.enabled_11d; -} - bool csr_is11h_supported(struct mac_context *mac) { return mac->mlme_cfg->gen.enabled_11h;