summaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/midgard/mali_kbase_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/arm/midgard/mali_kbase_sync.h')
-rw-r--r--drivers/gpu/arm/midgard/mali_kbase_sync.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_sync.h b/drivers/gpu/arm/midgard/mali_kbase_sync.h
index 820bddc8c8b1..6d8e34d3c3ae 100644
--- a/drivers/gpu/arm/midgard/mali_kbase_sync.h
+++ b/drivers/gpu/arm/midgard/mali_kbase_sync.h
@@ -1,6 +1,6 @@
/*
*
- * (C) COPYRIGHT 2012-2016 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2012-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -36,15 +36,6 @@ static inline struct sync_timeline *sync_pt_parent(struct sync_pt *pt)
}
#endif
-static inline int kbase_fence_get_status(struct sync_fence *fence)
-{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
- return fence->status;
-#else
- return atomic_read(&fence->status);
-#endif
-}
-
/*
* Create a stream object.
* Built on top of timeline object.