diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-11-03 19:05:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-05 22:31:39 +0900 |
commit | 6da2a940ac6a0680e50b3aaf945e409cea03c346 (patch) | |
tree | ba1980973f919fceab88a82eb9fb2a2817dab459 /crypto/blowfish_generic.c | |
parent | 1ca28ec9abff927178b1ea9d6431e4c320145b10 (diff) |
net: dsa: rework switch addition and removal
This patch removes the unnecessary index argument from the
dsa_dst_add_ds and dsa_dst_del_ds functions and renames them to
dsa_tree_add_switch and dsa_tree_remove_switch respectively.
In addition to a more explicit scope, we now check the presence of an
existing switch with the same index directly within dsa_tree_add_switch.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/blowfish_generic.c')
0 files changed, 0 insertions, 0 deletions