Changed always returning 0 to void foo
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
@@ -79,12 +79,10 @@ static int ocf_part_lst_cmp_valid(struct ocf_cache *cache,
|
||||
return v2 - v1;
|
||||
}
|
||||
|
||||
int ocf_part_init(struct ocf_cache *cache)
|
||||
void ocf_part_init(struct ocf_cache *cache)
|
||||
{
|
||||
ocf_lst_init(cache, &cache->lst_part, OCF_IO_CLASS_MAX,
|
||||
ocf_part_lst_getter_valid, ocf_part_lst_cmp_valid);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ocf_part_move(struct ocf_request *req)
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include "../engine/cache_engine.h"
|
||||
#include "../metadata/metadata_partition.h"
|
||||
|
||||
int ocf_part_init(struct ocf_cache *cache);
|
||||
void ocf_part_init(struct ocf_cache *cache);
|
||||
|
||||
static inline bool ocf_part_is_valid(struct ocf_user_part *part)
|
||||
{
|
||||
|
Reference in New Issue
Block a user