diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2021-01-09 21:16:36 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-21 19:42:34 +0100 |
| commit | 9859ad1c4b6d6d505ce202e42fd5a74a7ef6e149 (patch) | |
| tree | fd905288e1664ddb322ccb4b47eda3f476c46959 /hw/net/virtio-net.c | |
| parent | e1a69736e5985ac2d45977d4d6482ab9cca71db8 (diff) | |
| download | focaccia-qemu-9859ad1c4b6d6d505ce202e42fd5a74a7ef6e149.tar.gz focaccia-qemu-9859ad1c4b6d6d505ce202e42fd5a74a7ef6e149.zip | |
vt82c686: Simplify vt82c686b_realize()
Remove unneeded variables and setting value to 0 on zero initialised data and replace check for error with error_fatal. Rationalise loop that sets PCI config header fields read only. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <e4caf35ca10a68f5c74ae3f93fa0bcfa9457beea.1610223397.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions