]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x/cpu_models: Use 'first_cpu' in s390_get_feat_block()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 30 Oct 2023 09:31:50 +0000 (10:31 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 7 Nov 2023 18:27:08 +0000 (19:27 +0100)
commitad63e6d69326a2db0ed5ab8c9277b5b504a919a8
tree956f0ea93b694a0b058f1830ecca7e409665a440
parent81f993828bce9a9afd72da17b7672cb8bd121e63
target/s390x/cpu_models: Use 'first_cpu' in s390_get_feat_block()

We already have a global 'first_cpu' variable storing a pointer
to the first CPU, no need to use a static one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231030093150.65297-1-philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu_models.c