Commit f3e31b73 authored by Christian König's avatar Christian König Committed by Alex Deucher
parent a5cb37d8
...@@ -195,7 +195,6 @@ reservation_object_add_shared_replace(struct reservation_object *obj, ...@@ -195,7 +195,6 @@ reservation_object_add_shared_replace(struct reservation_object *obj,
if (old) if (old)
kfree_rcu(old, rcu); kfree_rcu(old, rcu);
if (old_fence)
dma_fence_put(old_fence); dma_fence_put(old_fence);
} }
...@@ -258,7 +257,6 @@ void reservation_object_add_excl_fence(struct reservation_object *obj, ...@@ -258,7 +257,6 @@ void reservation_object_add_excl_fence(struct reservation_object *obj,
dma_fence_put(rcu_dereference_protected(old->shared[i], dma_fence_put(rcu_dereference_protected(old->shared[i],
reservation_object_held(obj))); reservation_object_held(obj)));
if (old_fence)
dma_fence_put(old_fence); dma_fence_put(old_fence);
} }
EXPORT_SYMBOL(reservation_object_add_excl_fence); EXPORT_SYMBOL(reservation_object_add_excl_fence);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment