The xe_vma_userptr_rebind_worker and xe_vma_userptr_rebind_exec
events were introduced without callers. Their definitions were
later moved to xe_trace_bo.h, but remain unused.

Remove both definitions while retaining the shared xe_vma event
class and the other events that use it.

With the tested x86-64 configuration, size reports a reduction of
936 bytes in xe_trace_bo.o, from 24146 to 23210 bytes: 344 bytes
in text and 592 bytes in data.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Torra Sowmya <[email protected]>
---
 drivers/gpu/drm/xe/xe_trace_bo.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_trace_bo.h b/drivers/gpu/drm/xe/xe_trace_bo.h
index 36fc7eb65882..8be08d527ea5 100644
--- a/drivers/gpu/drm/xe/xe_trace_bo.h
+++ b/drivers/gpu/drm/xe/xe_trace_bo.h
@@ -150,16 +150,6 @@ DEFINE_EVENT(xe_vma, xe_vma_unbind,
             TP_ARGS(vma)
 );
 
-DEFINE_EVENT(xe_vma, xe_vma_userptr_rebind_worker,
-            TP_PROTO(struct xe_vma *vma),
-            TP_ARGS(vma)
-);
-
-DEFINE_EVENT(xe_vma, xe_vma_userptr_rebind_exec,
-            TP_PROTO(struct xe_vma *vma),
-            TP_ARGS(vma)
-);
-
 DEFINE_EVENT(xe_vma, xe_vma_rebind_worker,
             TP_PROTO(struct xe_vma *vma),
             TP_ARGS(vma)
-- 
2.47.3

Reply via email to