diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-02-07 12:39:06 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-11 12:20:52 +0300 |
commit | b4c1fde5ced93d9f4ad89e2c940d3fd56ad82288 (patch) | |
tree | c85e429e674730f4ddf58f1ff7345a126a861dd6 /scripts/gdb/linux/proc.py | |
parent | 9a884c3800b207bac36e27be4ec7277c78a84568 (diff) | |
download | linux-b4c1fde5ced93d9f4ad89e2c940d3fd56ad82288.tar.xz |
ptp: vmclock: Remove goto-based cleanup logic
vmclock_probe() uses an "out:" label to return from the function on
error. This indicates that some cleanup operation is necessary.
However the label does not do anything as all resources are managed
through devres, making the code slightly harder to read.
Remove the label and just return directly.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions