summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-02-07 12:39:06 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-02-11 12:20:52 +0300
commitb4c1fde5ced93d9f4ad89e2c940d3fd56ad82288 (patch)
treec85e429e674730f4ddf58f1ff7345a126a861dd6 /scripts/gdb/linux/proc.py
parent9a884c3800b207bac36e27be4ec7277c78a84568 (diff)
downloadlinux-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