summaryrefslogtreecommitdiffstats
path: root/net/dsa/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/legacy.c')
-rw-r--r--net/dsa/legacy.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net/dsa/legacy.c b/net/dsa/legacy.c
index 84611d7fcfa2..aa56d3fb5da4 100644
--- a/net/dsa/legacy.c
+++ b/net/dsa/legacy.c
@@ -718,26 +718,6 @@ static int dsa_resume(struct device *d)
718} 718}
719#endif 719#endif
720 720
721/* legacy way, bypassing the bridge *****************************************/
722int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
723 struct net_device *dev,
724 const unsigned char *addr, u16 vid,
725 u16 flags)
726{
727 struct dsa_port *dp = dsa_slave_to_port(dev);
728
729 return dsa_port_fdb_add(dp, addr, vid);
730}
731
732int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
733 struct net_device *dev,
734 const unsigned char *addr, u16 vid)
735{
736 struct dsa_port *dp = dsa_slave_to_port(dev);
737
738 return dsa_port_fdb_del(dp, addr, vid);
739}
740
741static SIMPLE_DEV_PM_OPS(dsa_pm_ops, dsa_suspend, dsa_resume); 721static SIMPLE_DEV_PM_OPS(dsa_pm_ops, dsa_suspend, dsa_resume);
742 722
743static const struct of_device_id dsa_of_match_table[] = { 723static const struct of_device_id dsa_of_match_table[] = {