qemu-e2k/hw/xtensa
Thomas Huth b697a48924 hw: Simplify calls to pci_nic_init_nofail()
pci_nic_init_nofail() calls qemu_find_nic_model(), and this function
sets nd->model = g_strdup(default_model) if it has not been initialized
yet. So we don't have to set nd->model to the default_nic in the
calling sites.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-07-08 07:24:38 +03:00
..
Kconfig hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mx_pic.c hw/xtensa: fix reset value of MIROUT register of MX PIC 2022-05-06 15:27:40 -07:00
pic_cpu.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
sim.c Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
virt.c hw: Simplify calls to pci_nic_init_nofail() 2023-07-08 07:24:38 +03:00
xtensa_memory.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
xtensa_memory.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
xtensa_sim.h hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtfpga.c Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00