Changed always returning 0 to void foo

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski
2019-06-10 15:05:59 +02:00
parent 30ac3abd74
commit b1cf6c4642
3 changed files with 4 additions and 10 deletions

View File

@@ -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)

View File

@@ -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)
{