summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWei Yang2019-02-27 08:50:59 +0100
committerMichael S. Tsirkin2019-03-13 03:31:21 +0100
commitac265cacdd117ae965515df41bb4452478d22179 (patch)
treec7b25c14ef85060c0951f93f7fcf289f63fe9fc8 /include
parentnvdimm: fix typo in nvdimm_build_nvdimm_devices argument (diff)
downloadqemu-ac265cacdd117ae965515df41bb4452478d22179.tar.gz
qemu-ac265cacdd117ae965515df41bb4452478d22179.tar.xz
qemu-ac265cacdd117ae965515df41bb4452478d22179.zip
nvdimm: use *function* directly instead of allocating it again
At the beginning or nvdimm_build_common_dsm(), variable *function* is already allocated for Arg2. This patch reuse variable *function* instead of allocating it again. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190227075101.6263-3-richardw.yang@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions