aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-02-07 09:39:06 +0000
committerPaolo Abeni <[email protected]>2025-02-11 09:20:52 +0000
commitb4c1fde5ced93d9f4ad89e2c940d3fd56ad82288 (patch)
treec85e429e674730f4ddf58f1ff7345a126a861dd6 /drivers/net/ethernet/intel/igc/igc_main.c
parentptp: vmclock: Clean up miscdev and ptp clock through devres (diff)
downloadkernel-b4c1fde5ced93d9f4ad89e2c940d3fd56ad82288.tar.gz
kernel-b4c1fde5ced93d9f4ad89e2c940d3fd56ad82288.zip
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 <[email protected]> Acked-by: Richard Cochran <[email protected]> Reviewed-by: David Woodhouse <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions