aboutsummaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorVivien Didelot2017-11-03 19:05:25 -0400
committerDavid S. Miller2017-11-05 22:31:39 +0900
commit6da2a940ac6a0680e50b3aaf945e409cea03c346 (patch)
treeba1980973f919fceab88a82eb9fb2a2817dab459 /mm/vmalloc.c
parent1ca28ec9abff927178b1ea9d6431e4c320145b10 (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 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions