On 12/11/21 11:11 AM, Peter Maydell wrote:
Refactor process_its_cmd() so that it consistently uses
the structure
   do thing;
   if (error condition) {
       return early;
   }
   do next thing;

rather than doing some of the work nested inside if (not error)
code blocks.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  hw/intc/arm_gicv3_its.c | 103 +++++++++++++++++++---------------------
  1 file changed, 50 insertions(+), 53 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to