mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Remove cds_upper_to_lower()
Utility function cds_upper_to_lower() is unused, so remove it. Change-Id: I27464377fd10f0d3c4172ef4e3fe59ff6310aa61 CRs-Fixed: 2370775
This commit is contained in:
parent
1fca7b0507
commit
6f3506eecc
2 changed files with 0 additions and 18 deletions
|
|
@ -109,14 +109,6 @@ uint32_t cds_chan_to_freq(uint8_t chan);
|
|||
uint8_t cds_freq_to_chan(uint32_t freq);
|
||||
enum cds_band_type cds_chan_to_band(uint32_t chan);
|
||||
|
||||
/**
|
||||
* cds_upper_to_lower: API to convert upper case string into lower case
|
||||
* @txt: input text
|
||||
* @length: length of input string
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void cds_upper_to_lower(uint8_t *txt, uint32_t length);
|
||||
#ifdef WLAN_FEATURE_11W
|
||||
bool cds_is_mmie_valid(uint8_t *key, uint8_t *ipn,
|
||||
uint8_t *frm, uint8_t *efrm);
|
||||
|
|
|
|||
|
|
@ -659,16 +659,6 @@ uint8_t cds_freq_to_chan(uint32_t freq)
|
|||
return chan;
|
||||
}
|
||||
|
||||
void cds_upper_to_lower(uint8_t *txt, uint32_t length)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
if (txt[i] >= 'A' && txt[i] <= 'Z')
|
||||
txt[i] = txt[i] + 32;
|
||||
}
|
||||
}
|
||||
|
||||
enum cds_band_type cds_chan_to_band(uint32_t chan)
|
||||
{
|
||||
if (chan <= CDS_24_GHZ_CHANNEL_14)
|
||||
|
|
|
|||
Loading…
Reference in a new issue