[PATCH] drm/syncobj: Remove unused field

Rob Clark robdclark at gmail.com
Wed Nov 2 19:59:44 UTC 2022


From: Rob Clark <robdclark at chromium.org>

Seems to be a leftover after commit e7cdf5c82f17 ("drm/syncobj: Stop
reusing the same struct file for all syncobj -> fd").

Signed-off-by: Rob Clark <robdclark at chromium.org>
---
 include/drm/drm_syncobj.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h
index 6cf7243a1dc5..affc4d8e50e2 100644
--- a/include/drm/drm_syncobj.h
+++ b/include/drm/drm_syncobj.h
@@ -57,10 +57,6 @@ struct drm_syncobj {
 	 * @lock: Protects &cb_list and write-locks &fence.
 	 */
 	spinlock_t lock;
-	/**
-	 * @file: A file backing for this syncobj.
-	 */
-	struct file *file;
 };
 
 void drm_syncobj_free(struct kref *kref);
-- 
2.38.1



More information about the dri-devel mailing list