On 11/21/23 07:32, Philippe Mathieu-Daudé wrote:
Return early if bc->alloc is NULL. De-indent the if() ladder.

Note, this avoids a pointless call to error_propagate() with
errp=NULL at the 'out:' label.

Change trivial when reviewed with 'git-diff --ignore-all-space'.

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  backends/hostmem.c | 133 +++++++++++++++++++++++----------------------
  1 file changed, 67 insertions(+), 66 deletions(-)


Reviewed-by: Gavin Shan <gs...@redhat.com>


Reply via email to