diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-04-28 02:56:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-30 23:15:35 -0400 |
commit | 93e86b3bc842c159a60e6987444bf3952adcd4db (patch) | |
tree | 8eaf6bda037dcc454785d16414cecbdcf069b335 /net/dsa/dsa_priv.h | |
parent | 2f8e7ece4a624b07e4ff3846adbf6484ee632f59 (diff) | |
download | linux-stable-93e86b3bc842c159a60e6987444bf3952adcd4db.tar.gz linux-stable-93e86b3bc842c159a60e6987444bf3952adcd4db.tar.bz2 linux-stable-93e86b3bc842c159a60e6987444bf3952adcd4db.zip |
net: dsa: Remove legacy probing support
Now that all drivers can be probed using more traditional methods,
remove the legacy probe code.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r-- | net/dsa/dsa_priv.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 37751b505572..b434f5ff55ab 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h @@ -90,18 +90,6 @@ void dsa_tag_driver_put(const struct dsa_device_ops *ops); bool dsa_schedule_work(struct work_struct *work); const char *dsa_tag_protocol_to_str(const struct dsa_device_ops *ops); -/* legacy.c */ -#if IS_ENABLED(CONFIG_NET_DSA_LEGACY) -int dsa_legacy_register(void); -void dsa_legacy_unregister(void); -#else -static inline int dsa_legacy_register(void) -{ - return 0; -} - -static inline void dsa_legacy_unregister(void) { } -#endif int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 vid, |