Remove set_cache_name() from public API.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2019-09-25 05:08:51 -04:00
parent f461f3c62e
commit 6c076a7c07
2 changed files with 2 additions and 12 deletions

View File

@ -107,18 +107,6 @@ struct ocf_cache_info {
*/ */
ocf_volume_t ocf_cache_get_volume(ocf_cache_t cache); ocf_volume_t ocf_cache_get_volume(ocf_cache_t cache);
/**
* @brief Set name of given cache object
*
* @param[in] cache Cache object
* @param[in] src Source of Cache name
* @param[in] src_size Size of src
*
* @retval 0 Success
* @retval Non-zero Fail
*/
int ocf_cache_set_name(ocf_cache_t cache, const char *src, size_t src_size);
/** /**
* @brief Get name of given cache object * @brief Get name of given cache object
* *

View File

@ -212,4 +212,6 @@ static inline uint64_t ocf_get_cache_occupancy(ocf_cache_t cache)
return result; return result;
} }
int ocf_cache_set_name(ocf_cache_t cache, const char *src, size_t src_size);
#endif /* __OCF_CACHE_PRIV_H__ */ #endif /* __OCF_CACHE_PRIV_H__ */