aboutsummaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2019-02-14 11:10:03 +0800
committerLaurent Vivier <laurent@vivier.eu>2019-03-06 11:21:27 +0100
commit5c7ba877ef54e6a90982db729b4fda8c4790ef67 (patch)
treed7a6aaf433b6620421675d7cfd139388f02c9c1c /CODING_STYLE
parent9ab71e5ee5167ca6e5c42a386b82060a7ca55b13 (diff)
downloadqemu-5c7ba877ef54e6a90982db729b4fda8c4790ef67.zip
qemu-5c7ba877ef54e6a90982db729b4fda8c4790ef67.tar.gz
qemu-5c7ba877ef54e6a90982db729b4fda8c4790ef67.tar.bz2
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: Igor Mammedov <imammedo@redhat.com> Suggested-by: Wei Yang <richardw.yang@linux.intel.com> Reviewed-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190213123858.24620-1-imammedo@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20190214031004.32522-2-stefanha@redhat.com> [lv: s/hostmem/hostmem-file/] Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions