Re: [PATCH v2 36/44] error: Eliminate error_propagate() manually

2020-07-03 Thread Markus Armbruster
Eric Blake writes: > On 7/2/20 10:49 AM, Markus Armbruster wrote: >> When all we do with an Error we receive into a local variable is >> propagating to somewhere else, we can just as well receive it there >> right away. The previous two commits did that for sufficiently simple >> cases with Cocc

Re: [PATCH v2 36/44] error: Eliminate error_propagate() manually

2020-07-02 Thread Eric Blake
On 7/2/20 10:49 AM, Markus Armbruster wrote: When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous two commits did that for sufficiently simple cases with Coccinelle. Do it for several more m

[PATCH v2 36/44] error: Eliminate error_propagate() manually

2020-07-02 Thread Markus Armbruster
When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous two commits did that for sufficiently simple cases with Coccinelle. Do it for several more manually. Signed-off-by: Markus Armbruster ---