nvdimm acpi: cleanup nvdimm_build_fit
commit880f36125371a969905a3be83a9099ca451b5c12
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 7 Nov 2016 11:13:43 +0000 (7 19:13 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Nov 2016 15:20:37 +0000 (15 17:20 +0200)
tree421c48a6617d565a974d5096a5240d4a6c067be7
parentcf7c0ff521b0710079aa28f21937fb7dbb3f5224
nvdimm acpi: cleanup nvdimm_build_fit

inline buf_size to refine the code a bit

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/acpi/nvdimm.c