Bibo Mao writes:
> When there is an error, it is put into a local variable and then
> propagated to somewhere else. Instead the error can be set right
> away, error propagation can be removed.
>
> Signed-off-by: Bibo Mao
Reviewed-by: Markus Armbruster
When there is an error, it is put into a local variable and then
propagated to somewhere else. Instead the error can be set right
away, error propagation can be removed.
Signed-off-by: Bibo Mao
---
hw/loongarch/virt.c | 32 +++-
1 file changed, 11 insertions(+), 21 de