diff options
author | 2024-10-04 16:43:23 +0200 | |
---|---|---|
committer | 2024-10-08 10:21:46 +0200 | |
commit | fa17f749ee5bc6afdaa9e0ddbe6a816b490dad7d (patch) | |
tree | ef60fcfc737bbe7e9d61318988338c7ae10684ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: use v2 defines for line state change events (diff) | |
download | wireguard-linux-fa17f749ee5bc6afdaa9e0ddbe6a816b490dad7d.tar.xz wireguard-linux-fa17f749ee5bc6afdaa9e0ddbe6a816b490dad7d.zip |
gpiolib: unify two loops initializing GPIO descriptors
We currently iterate over the descriptors owned by the GPIO device we're
adding twice with the first loop just setting the gdev pointer. It's not
used anywhere between this and the second loop so just drop the first
one and move the assignment to the second.
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20241004-gpio-notify-in-kernel-events-v1-2-8ac29e1df4fe@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions