OSDN Git Service

net: dsa: mv88e6xxx: call vtu_getnext directly in db load/purge
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 1 Aug 2019 18:36:35 +0000 (14:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2019 20:43:09 +0000 (16:43 -0400)
commit5ef8d249f8743325832a99fdaf997a28cbd0f78b
treec69daa160ebf0dcff0e7997b4c878595c7c43422
parent425d2d37aba6710c6fe3ad9f8c6755c49986f3e5
net: dsa: mv88e6xxx: call vtu_getnext directly in db load/purge

mv88e6xxx_vtu_getnext is simple enough to call it directly in the
mv88e6xxx_port_db_load_purge function and explicit the return code
expected by switchdev for software VLANs when an hardware VLAN does
not exist.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c