diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-10-29 17:32:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-03 17:40:44 -0800 |
| commit | 2214ca1ff6df1c1faab4fb95f0296b6d9bf6e1ee (patch) | |
| tree | ea8680f552ecac4745387f624a5b13454d06cf82 /scripts/objdiff | |
| parent | 209ff7af79bf495e6c3d300bf3dea6aeea973bc7 (diff) | |
mpls: Return early in mpls_label_ok().
When mpls_label_ok() returns false, it does not need to update *index.
Let's remove is_ok and return early.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20251029173344.2934622-2-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
