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.c | |
parent | 2f8e7ece4a624b07e4ff3846adbf6484ee632f59 (diff) | |
download | linux-93e86b3bc842c159a60e6987444bf3952adcd4db.tar.gz linux-93e86b3bc842c159a60e6987444bf3952adcd4db.tar.bz2 linux-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.c')
-rw-r--r-- | net/dsa/dsa.c | 5 |
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); |