aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorYanan Wang <wangyanan55@huawei.com>2022-01-11 11:27:58 +0800
committerAlistair Francis <alistair.francis@wdc.com>2022-01-21 15:52:56 +1000
commit22599b795c8395fa3e2a90c3b32ca1622035feeb (patch)
tree06c595042c254b29309e80b0a1dbbcae36189a6a /target
parentcfeeeb482a5279f240407a9d7266274c67c21d2e (diff)
downloadqemu-22599b795c8395fa3e2a90c3b32ca1622035feeb.zip
qemu-22599b795c8395fa3e2a90c3b32ca1622035feeb.tar.gz
qemu-22599b795c8395fa3e2a90c3b32ca1622035feeb.tar.bz2
softmmu/device_tree: Remove redundant pointer assignment
The pointer assignment "const char *p = path;" in function qemu_fdt_add_path is unnecessary. Let's remove it and just use the "path" passed in. No functional change. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Yanan Wang <wangyanan55@huawei.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-id: 20220111032758.27804-1-wangyanan55@huawei.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions