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>
This commit is contained in:
committed by
David S. Miller
parent
2f8e7ece4a
commit
93e86b3bc8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user