From dbbc885e28eb9b99bd6c671516b16c8b634d2f45 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 16 Dec 2018 12:03:13 -0800 Subject: [PATCH] qcacld-3.0: Remove csr_to_upper() Function csr_to_upper() is unused, so remove it. Change-Id: I7341cfc11287657036b9f5afb77495254aee3a04 CRs-Fixed: 2370780 --- core/sme/inc/csr_support.h | 2 +- core/sme/src/csr/csr_util.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/core/sme/inc/csr_support.h b/core/sme/inc/csr_support.h index cbb4e4408007..3e08c745803c 100644 --- a/core/sme/inc/csr_support.h +++ b/core/sme/inc/csr_support.h @@ -321,7 +321,7 @@ QDF_STATUS csr_get_parsed_bss_description_ies(struct mac_context *mac_ctx, tDot11fBeaconIEs **ppIEStruct); tSirScanType csr_get_scan_type(struct mac_context *mac, uint8_t chnId); -uint8_t csr_to_upper(uint8_t ch); + QDF_STATUS csr_get_phy_mode_from_bss(struct mac_context *mac, tSirBssDescription *pBSSDescription, eCsrPhyMode *pPhyMode, tDot11fBeaconIEs *pIes); diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 0134b562a496..326be0aeed9c 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -5943,18 +5943,6 @@ tSirScanType csr_get_scan_type(struct mac_context *mac, uint8_t chnId) return scanType; } -uint8_t csr_to_upper(uint8_t ch) -{ - uint8_t chOut; - - if (ch >= 'a' && ch <= 'z') - chOut = ch - 'a' + 'A'; - else - chOut = ch; - - return chOut; -} - tSirBssType csr_translate_bsstype_to_mac_type(eCsrRoamBssType csrtype) { tSirBssType ret;