From: Jani Nikula Date: Fri, 16 May 2025 12:16:56 +0000 (+0300) Subject: drm/xe/display: drop duplicate display->fb_tracking.lock init X-Git-Tag: io_uring-6.17-20250815~29^2~20^2~70 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b617341e4801e2f0ea7aeb63fae0fa438f7cd601;p=linux-block.git drm/xe/display: drop duplicate display->fb_tracking.lock init The spinlock is initialized in intel_display_driver_early_probe(). Drop the extra init. Reviewed-by: Matthew Auld Link: https://lore.kernel.org/r/f895a8a43c61a6e60db8e1eb698919ce0faab27c.1747397638.git.jani.nikula@intel.com Signed-off-by: Jani Nikula --- 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;