diff options
| author | Zhao Liu <zhao1.liu@intel.com> | 2024-04-25 11:12:26 +0800 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-04-30 06:21:46 +0200 |
| commit | 7c0c099a88fd45b3598118dd7dce9ba64a1d41b7 (patch) | |
| tree | 49ee9f2299f31b5cdba47fc792d26d495a933725 /scripts/qapi/schema.py | |
| parent | 5fee33d97a7f2e95716417bd164f2f5264acd976 (diff) | |
| download | focaccia-qemu-7c0c099a88fd45b3598118dd7dce9ba64a1d41b7.tar.gz focaccia-qemu-7c0c099a88fd45b3598118dd7dce9ba64a1d41b7.zip | |
target/s390x/cpu_model: Make check_compatibility() return boolean
As error.h suggested, the best practice for callee is to return something to indicate success / failure. With returned boolean, there's no need to check @err. Suggested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240425031232.1586401-2-zhao1.liu@intel.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions