Skip to content
Commit 5c7ba877 authored by Igor Mammedov's avatar Igor Mammedov Committed by Laurent Vivier
Browse files

hostmem-file: simplify ifdef-s in file_backend_memory_alloc()



cleanup file_backend_memory_alloc() by using one CONFIG_POSIX ifdef
instead of several ones within the function to make it simpler to follow.

Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
Suggested-by: default avatarWei Yang <richardw.yang@linux.intel.com>
Reviewed-by: default avatarWei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190213123858.24620-1-imammedo@redhat.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20190214031004.32522-2-stefanha@redhat.com>
[lv: s/hostmem/hostmem-file/]
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 9ab71e5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment