File Delete-not-needed-includes.patch of Package evdi-new
From 465e9bbd002eefbbb80223af68a7b64863b44da7 Mon Sep 17 00:00:00 2001 From: Matthias Brugger <mbrugger@suse.com> Date: Thu, 25 May 2023 10:23:56 +0200 Subject: [PATCH] Delete not needed includes. drm_frambuffer.h is unconditionally included. No functions vom drm_irq.h are called. Signed-off-by: Matthias Brugger <mbrugger@suse.com> --- module/evdi_drm_drv.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/evdi_drm_drv.h b/module/evdi_drm_drv.h index 5eea878..d59f777 100644 --- a/module/evdi_drm_drv.h +++ b/module/evdi_drm_drv.h @@ -26,11 +26,6 @@ #else #include <drm/drmP.h> #endif -#if KERNEL_VERSION(5, 15, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) -#include <drm/drm_framebuffer.h> -#else -#include <drm/drm_irq.h> -#endif #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_rect.h> -- 2.35.3