]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu: Don't call interval_tree_remove in amdgpu_mn_destroy
authorFelix Kuehling <Felix.Kuehling@amd.com>
Tue, 16 Feb 2016 20:31:30 +0000 (15:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Feb 2016 21:10:56 +0000 (16:10 -0500)
commit390be2824fa4211c2e973c69b72e04000559bba3
treee3b04955a2882e185839afee3093b39c8c40d4c5
parentb8ea3783467586246d0b2b08f2e3f42853219d94
drm/amdgpu: Don't call interval_tree_remove in amdgpu_mn_destroy

rbtree_postorder_for_each_entry_safe can skip over some entries if
the tree is rebalanced in interval_tree_remove. interval_tree_remove
is also redundant when the tree is just about to be freed.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c