mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Remove cds_crypto_init()/deinit()
Functions cds_crypto_init() & cds_crypto_deinit() are unused, so remove them. Change-Id: If33ee8874b65a5b3e7d5f853b943d12bb1bbb84f CRs-Fixed: 2371098
This commit is contained in:
parent
b72ff37f86
commit
a50ab22d4a
2 changed files with 0 additions and 45 deletions
|
|
@ -101,10 +101,6 @@ enum cds_band_type {
|
|||
Function declarations and documenation
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
QDF_STATUS cds_crypto_init(uint32_t *phCryptProv);
|
||||
|
||||
QDF_STATUS cds_crypto_deinit(uint32_t hCryptProv);
|
||||
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -181,47 +181,6 @@ static void cds_cmac_calc_mic(struct crypto_cipher *tfm,
|
|||
}
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
|
||||
\brief cds_crypto_init() - Initializes Crypto module
|
||||
|
||||
The cds_crypto_init() function initializes Crypto module.
|
||||
|
||||
\param phCryptProv - pointer to the Crypt handle
|
||||
|
||||
\return QDF_STATUS_SUCCESS - Successfully generated random memory.
|
||||
|
||||
QDF_STATUS_E_FAULT - pbBuf is an invalid pointer.
|
||||
|
||||
QDF_STATUS_E_FAILURE - default return value if it fails due to
|
||||
unknown reasons
|
||||
|
||||
***QDF_STATUS_E_RESOURCES - System resources (other than memory)
|
||||
are unavailable
|
||||
\sa
|
||||
|
||||
( *** return value not considered yet )
|
||||
--------------------------------------------------------------------------*/
|
||||
QDF_STATUS cds_crypto_init(uint32_t *phCryptProv)
|
||||
{
|
||||
QDF_STATUS uResult = QDF_STATUS_E_FAILURE;
|
||||
|
||||
/* This implementation doesn't require a crypto context */
|
||||
*phCryptProv = 0;
|
||||
uResult = QDF_STATUS_SUCCESS;
|
||||
return uResult;
|
||||
}
|
||||
|
||||
QDF_STATUS cds_crypto_deinit(uint32_t hCryptProv)
|
||||
{
|
||||
QDF_STATUS uResult = QDF_STATUS_E_FAILURE;
|
||||
|
||||
/* CryptReleaseContext succeeded */
|
||||
uResult = QDF_STATUS_SUCCESS;
|
||||
|
||||
return uResult;
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_11W
|
||||
uint8_t cds_get_mmie_size(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue