[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.0 15/25] backends: Simplify host_memory_backend_memory_

From: Gavin Shan
Subject: Re: [PATCH-for-9.0 15/25] backends: Simplify host_memory_backend_memory_complete()
Date: Mon, 4 Dec 2023 14:56:20 +1000
User-agent: Mozilla Thunderbird

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é <philmd@linaro.org>
  backends/hostmem.c | 133 +++++++++++++++++++++++----------------------
  1 file changed, 67 insertions(+), 66 deletions(-)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]