Peter Maydell be0ed8fb7f hw/intc/arm_gicv3_its: Refactor process_its_cmd() to reduce nesting
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.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220111171048.3545974-8-peter.maydell@linaro.org
2022-01-20 16:04:58 +00:00
..
2021-10-27 14:45:22 +02:00
2021-10-12 08:20:08 +02:00
2022-01-14 15:56:30 +00:00
2021-10-12 08:20:08 +02:00
2022-01-13 10:58:05 +01:00
2021-11-17 11:25:55 -07:00
2020-08-21 06:30:33 -04:00