diff options
| author | Thomas Weißschuh <[email protected]> | 2025-02-07 09:39:06 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-11 09:20:52 +0000 |
| commit | b4c1fde5ced93d9f4ad89e2c940d3fd56ad82288 (patch) | |
| tree | c85e429e674730f4ddf58f1ff7345a126a861dd6 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | ptp: vmclock: Clean up miscdev and ptp clock through devres (diff) | |
| download | kernel-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
