diff options
| author | Faizal Rahim <faizal.abdul.rahim@linux.intel.com> | 2026-05-08 05:47:05 +0800 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-07-01 13:34:48 -0700 |
| commit | fa7315482f582839342d7be534b7cc423a9d7996 (patch) | |
| tree | 8abf367deb5e6ceb3ad248d5d4ee51a9205b60ea /tools/perf/scripts/python | |
| parent | c731361cfef90d110f856a7bab6e496ed94e9a02 (diff) | |
igc: replace goto out with direct returns in igc_config_fc_after_link_up()
The out: label only returns ret_val with no cleanup. The kernel coding
style guide states: "If there is no cleanup needed then just return
directly." (Documentation/process/coding-style.rst, section 7).
This improves readability ahead of a subsequent patch that introduces a
new goto label in this function.
No functional change.
Reviewed-by: Looi Hong Aun <hong.aun.looi@intel.com>
Signed-off-by: Faizal Rahim <faizal.abdul.rahim@linux.intel.com>
Signed-off-by: Khai Wen Tan <khai.wen.tan@linux.intel.com>
Reviewed-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Moriya Kadosh <moriyax.kadosh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
