summaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2019-08-01 21:36:37 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-01 23:43:09 +0300
commitb1ac6fb440d6abf77ae82667b57126c6059c7bd6 (patch)
tree999b497b6dbe89b138c9d63ec6fba230a78a2ff4 /scripts/gen_compile_commands.py
parent5210989283c28b909e13efb61c0e298c178bb76f (diff)
downloadlinux-b1ac6fb440d6abf77ae82667b57126c6059c7bd6.tar.xz
net: dsa: mv88e6xxx: call vtu_getnext directly in vlan_add
Wrapping mv88e6xxx_vtu_getnext makes the code less easy to read and _mv88e6xxx_port_vlan_add is the only function requiring the preparation of a new VLAN entry. To simplify things up, remove the mv88e6xxx_vtu_get wrapper and explicit the VLAN lookup in _mv88e6xxx_port_vlan_add. This rework also avoids programming the broadcast entries again when changing a port's membership, e.g. from tagged to untagged. At the same time, rename the helper using an old underscore convention. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions