From: Lyude Paul Date: Wed, 3 Jul 2024 16:04:58 +0000 (-0400) Subject: drm/vkms: Remove event from vkms_output X-Git-Tag: v6.12-rc1~126^2~24^2~148 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3a47a269119ade7ea22d0465c7fbe518ca1bdfc;p=thirdparty%2Fkernel%2Flinux.git drm/vkms: Remove event from vkms_output While working on rvkms, I noticed that there's no code that actually uses the drm_pending_vblank_event that's embedded in vkms_output. So, just drop the member from the struct. Signed-off-by: Lyude Paul Reviewed-by: Louis Chauvet Tested-by: Louis Chauvet Reviewed-by: Maíra Canal Signed-off-by: Maíra Canal Link: https://patchwork.freedesktop.org/patch/msgid/20240703160458.1303872-1-lyude@redhat.com --- diff --git a/drivers/gpu/drm/vkms/vkms_drv.h b/drivers/gpu/drm/vkms/vkms_drv.h index 8f5710debb1eb..5e46ea5b96dcc 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.h +++ b/drivers/gpu/drm/vkms/vkms_drv.h @@ -103,7 +103,6 @@ struct vkms_output { struct drm_writeback_connector wb_connector; struct hrtimer vblank_hrtimer; ktime_t period_ns; - struct drm_pending_vblank_event *event; /* ordered wq for composer_work */ struct workqueue_struct *composer_workq; /* protects concurrent access to composer */