Remove obsolete wrapper for lru_rm_cline
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
847f5f1174
commit
fc06ef92a0
@ -45,7 +45,7 @@ static void __set_cache_line_invalid(struct ocf_cache *cache, uint8_t start_bit,
|
||||
*/
|
||||
if (!is_valid && !ocf_cache_line_are_waiters(
|
||||
ocf_cache_line_concurrency(cache), line)) {
|
||||
ocf_purge_eviction_policy(cache, line);
|
||||
ocf_lru_rm_cline(cache, line);
|
||||
ocf_metadata_remove_cache_line(cache, line);
|
||||
}
|
||||
}
|
||||
|
@ -170,18 +170,6 @@ static inline void ocf_purge_cleaning_policy(struct ocf_cache *cache,
|
||||
cleaning_policy_ops[clean_type].purge_cache_block(cache, line);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Remove cache line from eviction policy
|
||||
*
|
||||
* @param cache - cache instance
|
||||
* @param line - cache line to be removed
|
||||
*/
|
||||
static inline void ocf_purge_eviction_policy(struct ocf_cache *cache,
|
||||
ocf_cache_line_t line)
|
||||
{
|
||||
ocf_lru_rm_cline(cache, line);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set cache line clean and invalid and remove form lists
|
||||
*
|
||||
@ -206,8 +194,8 @@ static inline void _ocf_purge_cache_line_sec(struct ocf_cache *cache,
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Purge cache line (remove completely, from collision, move to free
|
||||
* partition, from cleaning policy and eviction policy)
|
||||
* @brief Purge cache line (remove from collision and cleaning policy,
|
||||
* move to free LRU list).
|
||||
*
|
||||
* @param req - OCF request to purge
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user