The spinlock is initialized in intel_display_driver_early_probe(). Drop
the extra init.

Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
---
 drivers/gpu/drm/xe/display/xe_display.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_display.c 
b/drivers/gpu/drm/xe/display/xe_display.c
index df897d08255c..9513b03847a8 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -109,8 +109,6 @@ int xe_display_create(struct xe_device *xe)
 
        xe->display = &xe->__display;
 
-       spin_lock_init(&display->fb_tracking.lock);
-
        display->hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0);
        if (!display->hotplug.dp_wq)
                return -ENOMEM;
-- 
2.39.5

Reply via email to