net: dsa: mv88e6xxx: call vtu_getnext directly in vlan_del
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 1 Aug 2019 18:36:36 +0000 (14:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2019 20:43:09 +0000 (16:43 -0400)
commit5210989283c28b909e13efb61c0e298c178bb76f
treeadadad49ebb10833fce81da3f53ae1c6638f44cd
parent5ef8d249f8743325832a99fdaf997a28cbd0f78b
net: dsa: mv88e6xxx: call vtu_getnext directly in vlan_del

Wrapping mv88e6xxx_vtu_getnext makes the code less easy to read.
Explicit the call to mv88e6xxx_vtu_getnext in _mv88e6xxx_port_vlan_del
and the return value expected by switchdev in case of software VLANs.

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>
drivers/net/dsa/mv88e6xxx/chip.c