All users of DMA_FENCE_FLAG_TIMESTAMP_BIT have been removed. Remove the
bit now, too.

Signed-off-by: Philipp Stanner <[email protected]>
---
 drivers/dma-buf/dma-fence.c | 2 --
 include/linux/dma-fence.h   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
index ab02afdb0f18..58faee7166ae 100644
--- a/drivers/dma-buf/dma-fence.c
+++ b/drivers/dma-buf/dma-fence.c
@@ -376,9 +376,7 @@ void dma_fence_signal_timestamp_locked(struct dma_fence 
*fence,
 
        /* Stash the cb_list before replacing it with the timestamp */
        list_replace(&fence->cb_list, &cb_list);
-
        fence->timestamp = timestamp;
-       set_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &fence->flags);
 
        list_for_each_entry_safe(cur, tmp, &cb_list, node) {
                INIT_LIST_HEAD(&cur->node);
diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
index 70bb8434ac1a..bab0aa339e05 100644
--- a/include/linux/dma-fence.h
+++ b/include/linux/dma-fence.h
@@ -52,7 +52,6 @@ struct seq_file;
  * DMA_FENCE_FLAG_INITIALIZED_BIT - fence was initialized
  * DMA_FENCE_FLAG_INLINE_LOCK_BIT - use inline spinlock instead of external one
  * DMA_FENCE_FLAG_SIGNALED_BIT - fence is already signaled
- * DMA_FENCE_FLAG_TIMESTAMP_BIT - timestamp recorded for fence signaling
  * DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT - enable_signaling might have been called
  * DMA_FENCE_FLAG_USER_BITS - start of the unused bits, can be used by the
  * implementer of the fence for its own purposes. Can be used in different
@@ -114,7 +113,6 @@ enum dma_fence_flag_bits {
        DMA_FENCE_FLAG_INLINE_LOCK_BIT,
        DMA_FENCE_FLAG_SEQNO64_BIT,
        DMA_FENCE_FLAG_SIGNALED_BIT,
-       DMA_FENCE_FLAG_TIMESTAMP_BIT,
        DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT,
 
        DMA_FENCE_FLAG_USER_BITS, /* must always be last member */
-- 
2.56.0

Reply via email to