diff options
author | Matthew Brost <matthew.brost@intel.com> | 2023-07-27 19:10:51 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:39:16 -0500 |
commit | 8d7a91fe58c982a7709fabb53a51d87dbf94f6e9 (patch) | |
tree | f748522723f39d7657b53c3753968db11caf44e7 /drivers/gpu/drm/xe/xe_guc_ct.c | |
parent | 757d9fdfe3db4de6ed5ef9961a301e5be7b2cd74 (diff) | |
download | lwn-8d7a91fe58c982a7709fabb53a51d87dbf94f6e9.tar.gz lwn-8d7a91fe58c982a7709fabb53a51d87dbf94f6e9.zip |
drm/xe: Remove ct->fence_context
This is unused, remove it.
Suggested-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_ct.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_guc_ct.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c index 3f5084c6ffc8..d322eadbe75a 100644 --- a/drivers/gpu/drm/xe/xe_guc_ct.c +++ b/drivers/gpu/drm/xe/xe_guc_ct.c @@ -140,7 +140,6 @@ int xe_guc_ct_init(struct xe_guc_ct *ct) mutex_init(&ct->lock); spin_lock_init(&ct->fast_lock); xa_init(&ct->fence_lookup); - ct->fence_context = dma_fence_context_alloc(1); INIT_WORK(&ct->g2h_worker, g2h_worker_func); init_waitqueue_head(&ct->wq); init_waitqueue_head(&ct->g2h_fence_wq); |