mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
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:
parent
2f8e7ece4a
commit
93e86b3bc8
6 changed files with 0 additions and 797 deletions
|
@ -346,10 +346,6 @@ static int __init dsa_init_module(void)
|
|||
if (rc)
|
||||
return rc;
|
||||
|
||||
rc = dsa_legacy_register();
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
dev_add_pack(&dsa_pack_type);
|
||||
|
||||
dsa_tag_driver_register(&DSA_TAG_DRIVER_NAME(none_ops),
|
||||
|
@ -365,7 +361,6 @@ static void __exit dsa_cleanup_module(void)
|
|||
|
||||
dsa_slave_unregister_notifier();
|
||||
dev_remove_pack(&dsa_pack_type);
|
||||
dsa_legacy_unregister();
|
||||
destroy_workqueue(dsa_owq);
|
||||
}
|
||||
module_exit(dsa_cleanup_module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue