aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2019-04-28 00:56:23 +0000
committerDavid S. Miller <[email protected]>2019-05-01 03:15:35 +0000
commit93e86b3bc842c159a60e6987444bf3952adcd4db (patch)
tree8eaf6bda037dcc454785d16414cecbdcf069b335 /net/dsa/dsa.c
parentnet: dsa: mv88e6060: Remove support for legacy probing (diff)
downloadkernel-93e86b3bc842c159a60e6987444bf3952adcd4db.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r--net/dsa/dsa.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index ba04c78633be..9e1fc0b08290 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -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);