]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x/cpu_models: Drop local @err in get_max_cpu_model()
authorZhao Liu <zhao1.liu@intel.com>
Thu, 25 Apr 2024 03:12:30 +0000 (11:12 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 30 Apr 2024 04:21:47 +0000 (06:21 +0200)
commitc6f1baf2d5a91fd2dcb31c3911fa5bec878faf6f
tree288e62e1cfbf68c027f84aed8352f0c77532c673
parent47ab3b21374627419cd400141cacd534b9281f7b
target/s390x/cpu_models: Drop local @err in get_max_cpu_model()

Use @errp to fetch error information directly and drop the local
variable @err.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240425031232.1586401-6-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu_models.c