riscv: hw: Change create_fdt() to return void
commit9f79638ec55411d5d120a15bd2181cc862e4fba1
authorBin Meng <bmeng.cn@gmail.com>
Fri, 6 Sep 2019 16:19:53 +0000 (6 09:19 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:45 +0000 (17 08:42 -0700)
tree8835a9a074234a998d488e07588a47d7cd6d58ed
parentb179685b6a8c3738161d562985a5aa3ad0a65839
riscv: hw: Change create_fdt() to return void

There is no need to return fdt at the end of create_fdt() because
it's already saved in s->fdt.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Chih-Min Chao <chihmin.chao@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c
hw/riscv/virt.c