commit | 308173546ac4342103541e8d4e4ce83d1a5e7eba | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Nov 06 16:11:52 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 09 09:26:49 2017 +0900 |
tree | f23ebf7db31d677798c44573133658aae9510c28 | |
parent | 34c09a8916fb52aac948dfc861b33c0b3b37ac29 [diff] |
net: dsa: setup a tree when adding a switch to it Now that the tree setup is centralized, we can simplify the code a bit more by setting up or tearing down the tree directly when adding or removing a switch to/from it. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>