Remove unused OCF_ERR_CACHE_IN_USE error code
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -42,9 +42,6 @@ typedef enum {
|
||||
/** Start cache failure */
|
||||
OCF_ERR_START_CACHE_FAIL,
|
||||
|
||||
/** Cache is busy */
|
||||
OCF_ERR_CACHE_IN_USE,
|
||||
|
||||
/** Cache ID does not exist */
|
||||
OCF_ERR_CACHE_NOT_EXIST,
|
||||
|
||||
|
||||
@@ -163,7 +163,6 @@ void ocf_mngt_cache_read_lock(ocf_cache_t cache,
|
||||
* @retval 0 Cache successfully locked
|
||||
* @retval -OCF_ERR_CACHE_NOT_EXIST Can not lock cache - cache is already
|
||||
* stopping
|
||||
* @retval -OCF_ERR_CACHE_IN_USE Can not lock cache - cache is in use
|
||||
* @retval -OCF_ERR_NO_LOCK Lock not acquired
|
||||
*/
|
||||
int ocf_mngt_cache_trylock(ocf_cache_t cache);
|
||||
@@ -178,7 +177,6 @@ int ocf_mngt_cache_trylock(ocf_cache_t cache);
|
||||
* @retval 0 Cache successfully locked
|
||||
* @retval -OCF_ERR_CACHE_NOT_EXIST Can not lock cache - cache is already
|
||||
* stopping
|
||||
* @retval -OCF_ERR_CACHE_IN_USE Can not lock cache - cache is in use
|
||||
* @retval -OCF_ERR_NO_LOCK Lock not acquired
|
||||
*/
|
||||
int ocf_mngt_cache_read_trylock(ocf_cache_t cache);
|
||||
|
||||
Reference in New Issue
Block a user