diff options
author | 2024-09-30 18:32:07 +0200 | |
---|---|---|
committer | 2024-10-02 16:32:46 +0200 | |
commit | 22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559 (patch) | |
tree | cd6f384b08f42237c0833c49d9c6505e5278d7d8 /tools/perf/scripts/python | |
parent | gpio: sysfs: make the sysfs export behavior consistent (diff) | |
download | wireguard-linux-22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559.tar.xz wireguard-linux-22dec5aa596ef805cccbcd3fbe5ebffbcb4fa559.zip |
gpio: aggregator: simplify aggr_parse() with scoped bitmap
The bitmap allocated in aggr_parse() is always freed before the function
returns so use __free(bitmap) to simplify it and drop the goto label.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240930163207.80276-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions