diff --git a/lib/env_ocf/ocf_env.h b/lib/env_ocf/ocf_env.h index 0b6ecb7a0..81d2e814b 100644 --- a/lib/env_ocf/ocf_env.h +++ b/lib/env_ocf/ocf_env.h @@ -171,8 +171,7 @@ static inline void env_vfree(const void *ptr) static inline uint64_t env_get_free_memory(void) { - /* TODO: do we need implementation for this function? */ - return sysconf(_SC_PAGESIZE) * sysconf(_SC_AVPHYS_PAGES); + return -1; } /* *** ALLOCATOR *** */