diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2025-10-15 23:32:30 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-17 17:54:58 -0700 |
| commit | 8f5c71e44413ac1c8dcc162cd4769645eff80590 (patch) | |
| tree | 43fbd4a3f1c12f9d8b3ddd80c4ada5c635fbfd54 /tools/perf/scripts/python | |
| parent | 92790e6c11a882cc8d49e05da5ed39fb5475a5ae (diff) | |
net: dsa: lantiq_gswip: remove duplicate assignment to vlan_mapping.val[0]
When idx == -1 in gswip_vlan_add(), we set vlan_mapping.val[0] = vid,
even though we do the exact same thing again outside the if/else block.
Remove the duplicate assignment.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/039ecb48e038cea856a9a6230ad1543db2bc382d.1760566491.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
