diff options
author | Yanan Wang <wangyanan55@huawei.com> | 2021-12-28 17:22:12 +0800 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-31 13:42:46 +0100 |
commit | 16f573847697038fae6657e2ed84ad2e1c4786ad (patch) | |
tree | ae438d9ea07c5f864f8eb69a43ac513b7ea0f191 /MAINTAINERS | |
parent | e5ef89ae44f6720e32dc4f516b2e997d2377f08a (diff) | |
download | qemu-16f573847697038fae6657e2ed84ad2e1c4786ad.zip qemu-16f573847697038fae6657e2ed84ad2e1c4786ad.tar.gz qemu-16f573847697038fae6657e2ed84ad2e1c4786ad.tar.bz2 |
tests/unit/test-smp-parse: No need to explicitly zero MachineClass members
The default value of the MachineClass members is 0, which
means we don't have to explicitly zero them. Also the value
of "mc->smp_props.prefer_sockets" will be taken care of by
smp_parse_test(), we don't necessarily need the statement
in machine_base_class_init() either.
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211228092221.21068-6-wangyanan55@huawei.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions