libtracefs: Fix the label usage in tracefs_instance_set_affinity()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · On Sun, 12 Mar 2023 21:32:23 +0100 Markus Elfring <[email protected]> wrote:
Date: Sun, 12 Mar 2023 21:24:34 +0100
The label “out” was used to jump to a source code place after some failure cases. This implementation detail hindered better exception handling.
Use more appropriate labels instead.
Quoted 8 lines
* Reorder jump targets at the end.
* Omit an extra initialisation (for the variable “set”) which became unnecessary with this refactoring.
Fixes 987d8c1a62dadff45e6006c4ce5f3bd138842567 ("libtracefs: Add tracefs_instance_set_affinity() APIs")Signed-off-by Markus Elfring <[email protected]>
Please, stop these patches. I do not feel this type of patch is important enough for the churn.
-- Steve