File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -440,32 +440,6 @@ dma_resv_excl_fence(struct dma_resv *obj)
440
440
return rcu_dereference_check (obj -> fence_excl , dma_resv_held (obj ));
441
441
}
442
442
443
- /**
444
- * dma_resv_get_excl_unlocked - get the reservation object's
445
- * exclusive fence, without lock held.
446
- * @obj: the reservation object
447
- *
448
- * If there is an exclusive fence, this atomically increments it's
449
- * reference count and returns it.
450
- *
451
- * RETURNS
452
- * The exclusive fence or NULL if none
453
- */
454
- static inline struct dma_fence *
455
- dma_resv_get_excl_unlocked (struct dma_resv * obj )
456
- {
457
- struct dma_fence * fence ;
458
-
459
- if (!rcu_access_pointer (obj -> fence_excl ))
460
- return NULL ;
461
-
462
- rcu_read_lock ();
463
- fence = dma_fence_get_rcu_safe (& obj -> fence_excl );
464
- rcu_read_unlock ();
465
-
466
- return fence ;
467
- }
468
-
469
443
/**
470
444
* dma_resv_shared_list - get the reservation object's shared fence list
471
445
* @obj: the reservation object
You can’t perform that action at this time.
0 commit comments