target/s390x/cpu_models_sysemu: Drop local @err in apply_cpu_model()
authorZhao Liu <zhao1.liu@intel.com>
Thu, 25 Apr 2024 03:12:32 +0000 (11:12 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 30 Apr 2024 04:21:47 +0000 (06:21 +0200)
commit046bf2a6184f0a87b89b735ef77edd9a13a96656
tree494c1d1d2ccf52b1f50387e32fde2fade11d4f50
parent38098df346b3daaa8771f2aee64c6b47d4c00e56
target/s390x/cpu_models_sysemu: Drop local @err in apply_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-8-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu_models_sysemu.c