On 19/04/2024 08.57, Zhao Liu wrote:
From: Zhao Liu <zhao1....@intel.com>

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 <th...@redhat.com>
Signed-off-by: Zhao Liu <zhao1....@intel.com>
---
  target/s390x/cpu_models.c | 14 +++++++-------
  1 file changed, 7 insertions(+), 7 deletions(-)

Reviewed-by: Thomas Huth <th...@redhat.com>



Reply via email to